Fix PinOrLockRequests
This commit is contained in:
@@ -11,5 +11,6 @@ public record PinOrLockItemRequest : InventoryBaseActionRequestData
|
||||
|
||||
/** "Pinned"/"Locked"/"Free" */
|
||||
[JsonPropertyName("State")]
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public PinLockState? State { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using System.Text.Encodings.Web;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Eft.Common.Tables;
|
||||
using SptCommon.Annotations;
|
||||
using Core.Models.Eft.Ws;
|
||||
using Core.Models.Enums;
|
||||
@@ -35,6 +36,7 @@ public class JsonUtil
|
||||
new EftEnumConverter<RewardType>(),
|
||||
new EftEnumConverter<ExitStatus>(),
|
||||
new EftEnumConverter<MemberCategory>(),
|
||||
new EftEnumConverter<PinLockState>(),
|
||||
new BaseInteractionRequestDataConverter()
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user