From 8094820ffd56be699c0c094c71d23df2323fb520 Mon Sep 17 00:00:00 2001 From: Xjph Date: Wed, 24 Nov 2021 19:42:32 -0330 Subject: [PATCH] Add missing converter for micro resource trade --- .../Files/Journal/Odyssey/TradeMicroResources.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ObservatoryFramework/Files/Journal/Odyssey/TradeMicroResources.cs b/ObservatoryFramework/Files/Journal/Odyssey/TradeMicroResources.cs index 3805ba7..bfbcf5c 100644 --- a/ObservatoryFramework/Files/Journal/Odyssey/TradeMicroResources.cs +++ b/ObservatoryFramework/Files/Journal/Odyssey/TradeMicroResources.cs @@ -1,5 +1,6 @@ using Observatory.Framework.Files.ParameterTypes; using System.Collections.Immutable; +using System.Text.Json.Serialization; namespace Observatory.Framework.Files.Journal { @@ -7,6 +8,7 @@ namespace Observatory.Framework.Files.Journal { public ImmutableList Offered { get; init; } public string Received { get; init; } + [JsonConverter(typeof(JsonStringEnumConverter))] public MicroCategory Category { get; init; } public int Count { get; init; } public ulong MarketID { get; init; }