From f874598fd84a5db081f7c8ca549449437a4d4d7d Mon Sep 17 00:00:00 2001 From: Archi Date: Thu, 21 Mar 2024 22:37:09 +0100 Subject: [PATCH] Misc --- .../Data/SubmitResponse.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/Data/SubmitResponse.cs b/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/Data/SubmitResponse.cs index 3487de4fd..43392b7dc 100644 --- a/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/Data/SubmitResponse.cs +++ b/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/Data/SubmitResponse.cs @@ -23,21 +23,17 @@ using System.Diagnostics.CodeAnalysis; using System.Text.Json.Serialization; +using ArchiSteamFarm.Steam.Data; namespace ArchiSteamFarm.OfficialPlugins.SteamTokenDumper.Data; #pragma warning disable CA1812 // False positive, the class is used during json deserialization [SuppressMessage("ReSharper", "ClassCannotBeInstantiated")] -internal sealed class SubmitResponse { +internal sealed class SubmitResponse : BooleanResponse { [JsonInclude] [JsonPropertyName("data")] internal SubmitResponseData? Data { get; private init; } - [JsonInclude] - [JsonPropertyName("success")] - [JsonRequired] - internal bool Success { get; private init; } - [JsonConstructor] private SubmitResponse() { } }