mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 00:22:40 +01:00
Fix client issues
This commit is contained in:
@@ -216,7 +216,7 @@ namespace Tgstation.Server.Client
|
||||
|
||||
try
|
||||
{
|
||||
var token = await RunRequest<Token>(Routes.Root, null, HttpMethod.Post, null, true, cancellationToken);
|
||||
var token = await RunRequest<Token>(Routes.Root, new object(), HttpMethod.Post, null, true, cancellationToken);
|
||||
headers = new ApiHeaders(headers.UserAgent!, token.Bearer!);
|
||||
}
|
||||
catch (ClientException)
|
||||
|
||||
Reference in New Issue
Block a user