mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-23 04:57:17 +01:00
Fix ErrorMessageResponse improperly deserializing from 401 responses
This commit is contained in:
+2
-2
@@ -7,8 +7,8 @@
|
||||
<TgsConfigVersion>5.0.0</TgsConfigVersion>
|
||||
<TgsApiVersion>10.0.0</TgsApiVersion>
|
||||
<TgsCommonLibraryVersion>7.0.0</TgsCommonLibraryVersion>
|
||||
<TgsApiLibraryVersion>13.0.0</TgsApiLibraryVersion>
|
||||
<TgsClientVersion>15.0.0</TgsClientVersion>
|
||||
<TgsApiLibraryVersion>13.0.1</TgsApiLibraryVersion>
|
||||
<TgsClientVersion>15.0.1</TgsClientVersion>
|
||||
<TgsDmapiVersion>7.0.0</TgsDmapiVersion>
|
||||
<TgsInteropVersion>5.7.0</TgsInteropVersion>
|
||||
<TgsHostWatchdogVersion>1.4.1</TgsHostWatchdogVersion>
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Tgstation.Server.Api.Models.Response
|
||||
{
|
||||
/// <summary>
|
||||
@@ -28,6 +30,7 @@ namespace Tgstation.Server.Api.Models.Response
|
||||
/// The <see cref="ErrorCode"/> of the <see cref="ErrorMessageResponse"/>.
|
||||
/// </summary>
|
||||
[EnumDataType(typeof(ErrorCode))]
|
||||
[JsonProperty(Required = Required.Always)]
|
||||
public ErrorCode ErrorCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user