mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-21 20:17:22 +01:00
Fix a null referencing issue
This commit is contained in:
@@ -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<TokenResponse, TokenResponse>(
|
||||
authority => authority.AttemptLogin(cancellationToken));
|
||||
|
||||
return tokenResponse.Bearer!;
|
||||
return tokenResponse!.Bearer!;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user