mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-28 23:52:36 +01:00
This should be HTTP 401 actually
This commit is contained in:
@@ -136,7 +136,7 @@ namespace Tgstation.Server.Host.Controllers
|
||||
|
||||
var response = await bridgeDispatcher.ProcessBridgeRequest(request, cancellationToken);
|
||||
if (response == null)
|
||||
return Forbid();
|
||||
return Unauthorized();
|
||||
|
||||
var responseJson = JsonConvert.SerializeObject(response, DMApiConstants.SerializerSettings);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user