From e0a194cd616835a7c2c647e78fb7215ef28c1bb3 Mon Sep 17 00:00:00 2001 From: Chomp Date: Wed, 12 Jan 2022 15:06:00 +0000 Subject: [PATCH] use correct class --- AssortValidator.Common/Helpers/AssortHelper.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/AssortValidator.Common/Helpers/AssortHelper.cs b/AssortValidator.Common/Helpers/AssortHelper.cs index e390457..b587a2e 100644 --- a/AssortValidator.Common/Helpers/AssortHelper.cs +++ b/AssortValidator.Common/Helpers/AssortHelper.cs @@ -10,7 +10,7 @@ namespace AssortValidator.Common.Helpers public static class AssortHelper { private static Dictionary _assortDataCache; - private static Dictionary _assortLiveDataCache; + private static Dictionary _assortLiveDataCache; public static Dictionary GetAssortData() { @@ -74,16 +74,16 @@ namespace AssortValidator.Common.Helpers return Trader.Unknown; } - public static Dictionary GetLiveAssortData() + public static Dictionary GetLiveAssortData() { if (_assortLiveDataCache == null) { - _assortLiveDataCache = new Dictionary(); + _assortLiveDataCache = new Dictionary(); foreach (var filePath in InputFileHelper.GetInputFilePaths().Where(x => x.Contains("resp.client.trading.api.getTraderAssort"))) { var traderType = GetTraderType(filePath); var json = File.ReadAllText(filePath); - var parsedAssorts = JsonSerializer.Deserialize(json); + var parsedAssorts = JsonSerializer.Deserialize(json); if (traderType != Trader.Unknown) {