diff --git a/src/Tgstation.Server.Host/Components/Interop/Topic/TopicResponse.cs b/src/Tgstation.Server.Host/Components/Interop/Topic/TopicResponse.cs index e5b30150de..45bae93f75 100644 --- a/src/Tgstation.Server.Host/Components/Interop/Topic/TopicResponse.cs +++ b/src/Tgstation.Server.Host/Components/Interop/Topic/TopicResponse.cs @@ -40,6 +40,6 @@ namespace Tgstation.Server.Host.Components.Interop.Topic /// /// The number of connected clients to the game. Added in Interop 5.10.0. /// - public int? ClientCount { get; } + public int? ClientCount { get; set; } } } diff --git a/src/Tgstation.Server.Host/Utils/GitHub/GitHubServiceFactory.cs b/src/Tgstation.Server.Host/Utils/GitHub/GitHubServiceFactory.cs index 1fb2b351cc..1d5fb5ef31 100644 --- a/src/Tgstation.Server.Host/Utils/GitHub/GitHubServiceFactory.cs +++ b/src/Tgstation.Server.Host/Utils/GitHub/GitHubServiceFactory.cs @@ -53,7 +53,9 @@ namespace Tgstation.Server.Host.Utils.GitHub /// public async ValueTask CreateService(string accessToken, CancellationToken cancellationToken) => CreateServiceImpl( - await gitHubClientFactory.CreateClient(accessToken, cancellationToken)); + await gitHubClientFactory.CreateClient( + accessToken ?? throw new ArgumentNullException(nameof(accessToken)), + cancellationToken)); /// public async ValueTask CreateService(string accessString, RepositoryIdentifier repositoryIdentifier, CancellationToken cancellationToken)