From 2bf56c8fade80531b1e3c34880538825fe3603a1 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Thu, 27 Sep 2018 01:57:46 +0200 Subject: [PATCH] Correct past workaround --- ArchiSteamFarm/ArchiWebHandler.cs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/ArchiSteamFarm/ArchiWebHandler.cs b/ArchiSteamFarm/ArchiWebHandler.cs index 25213b0c5..1dd16d3ff 100644 --- a/ArchiSteamFarm/ArchiWebHandler.cs +++ b/ArchiSteamFarm/ArchiWebHandler.cs @@ -383,14 +383,10 @@ namespace ArchiSteamFarm { return null; } - List apps = response["applist"]["apps"].Children; + List apps = response["apps"].Children; if ((apps == null) || (apps.Count == 0)) { - // TODO: Temporary workaround for https://github.com/SteamRE/SteamKit/issues/594 - apps = response["apps"].Children; - if ((apps == null) || (apps.Count == 0)) { - Bot.ArchiLogger.LogNullError(nameof(apps)); - return null; - } + Bot.ArchiLogger.LogNullError(nameof(apps)); + return null; } HashSet result = new HashSet(apps.Count);