Fix client issues

This commit is contained in:
Jordan Brown
2020-05-24 22:46:03 -04:00
parent c1155fce3a
commit e9d1ff89e0
3 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -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)