mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 07:04:57 +01:00
Fix recieved UserAgent in ApiHeaders not being populated
This commit is contained in:
@@ -135,6 +135,7 @@ namespace Tgstation.Server.Api
|
||||
throw new InvalidOperationException("Malformed API version!");
|
||||
|
||||
ApiVersion = apiVersion;
|
||||
UserAgent = clientUserAgent.Product;
|
||||
|
||||
//check api version compatibility
|
||||
var ourVersion = assemblyName.Version;
|
||||
|
||||
Reference in New Issue
Block a user