From e2abe415ead17ce240fd474f2bfd7e0bc72b4fe6 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Wed, 11 Sep 2024 23:19:22 -0400 Subject: [PATCH] Fix a null referencing issue --- src/Tgstation.Server.Host/GraphQL/Mutation.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tgstation.Server.Host/GraphQL/Mutation.cs b/src/Tgstation.Server.Host/GraphQL/Mutation.cs index eabb2f2ed6..31b896e4fc 100644 --- a/src/Tgstation.Server.Host/GraphQL/Mutation.cs +++ b/src/Tgstation.Server.Host/GraphQL/Mutation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; using System.Threading.Tasks; @@ -32,7 +32,7 @@ namespace Tgstation.Server.Host.GraphQL var tokenResponse = await loginAuthority.Invoke( authority => authority.AttemptLogin(cancellationToken)); - return tokenResponse.Bearer!; + return tokenResponse!.Bearer!; } } }