From be422d2ac512dba31d8b73e58c244d05cac419b1 Mon Sep 17 00:00:00 2001 From: Drathek <76988376+Drulikar@users.noreply.github.com> Date: Mon, 17 Feb 2025 16:51:12 -0600 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Jordan Dominion --- .../GraphQLGitLabClientFactory.cs | 2 +- .../Utils/GitHub/IAuthenticatedGitHubService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tgstation.Server.Host.Utils.GitLab.GraphQL/GraphQLGitLabClientFactory.cs b/src/Tgstation.Server.Host.Utils.GitLab.GraphQL/GraphQLGitLabClientFactory.cs index 90e683d70e..d12c2b7dee 100644 --- a/src/Tgstation.Server.Host.Utils.GitLab.GraphQL/GraphQLGitLabClientFactory.cs +++ b/src/Tgstation.Server.Host.Utils.GitLab.GraphQL/GraphQLGitLabClientFactory.cs @@ -34,7 +34,7 @@ namespace Tgstation.Server.Host.Utils.GitLab.GraphQL } }); - ServiceProvider serviceProvider = serviceCollection.BuildServiceProvider(); + var serviceProvider = serviceCollection.BuildServiceProvider(); try { return new GraphQLGitLabClient(serviceProvider); diff --git a/src/Tgstation.Server.Host/Utils/GitHub/IAuthenticatedGitHubService.cs b/src/Tgstation.Server.Host/Utils/GitHub/IAuthenticatedGitHubService.cs index eeb11eba51..b802e4731b 100644 --- a/src/Tgstation.Server.Host/Utils/GitHub/IAuthenticatedGitHubService.cs +++ b/src/Tgstation.Server.Host/Utils/GitHub/IAuthenticatedGitHubService.cs @@ -33,7 +33,7 @@ namespace Tgstation.Server.Host.Utils.GitHub Task AppendCommentOnIssue(string repoOwner, string repoName, string comment, IssueComment issueComment, CancellationToken cancellationToken); /// - /// Gets an for a particular with the provided if it exists. + /// Gets an for a particular with the provided if it exists and is not too large. /// /// The owner of the target repository. /// The name of the target repository.