From 25697e6552cbe13887094812db817ef84b52a1ee Mon Sep 17 00:00:00 2001 From: JustArchi Date: Tue, 28 May 2019 19:50:46 +0200 Subject: [PATCH] Misc --- ArchiSteamFarm/ArchiWebHandler.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ArchiSteamFarm/ArchiWebHandler.cs b/ArchiSteamFarm/ArchiWebHandler.cs index d9ff42c0c..81ee619c8 100644 --- a/ArchiSteamFarm/ArchiWebHandler.cs +++ b/ArchiSteamFarm/ArchiWebHandler.cs @@ -1128,7 +1128,7 @@ namespace ArchiSteamFarm { // ReSharper disable once AccessToDisposedClosure async () => await iEconService.CallAsync( - HttpMethod.Post, "DeclineTradeOffer", args: new Dictionary(2) { + HttpMethod.Post, "DeclineTradeOffer", args: new Dictionary(2, StringComparer.Ordinal) { { "key", steamApiKey }, { "tradeofferid", tradeID } } @@ -1186,7 +1186,7 @@ namespace ArchiSteamFarm { // ReSharper disable once AccessToDisposedClosure async () => await iEconService.CallAsync( - HttpMethod.Get, "GetTradeOffers", args: new Dictionary(5) { + HttpMethod.Get, "GetTradeOffers", args: new Dictionary(5, StringComparer.Ordinal) { { "active_only", 1 }, { "get_descriptions", 1 }, { "get_received_offers", 1 }, @@ -1609,7 +1609,7 @@ namespace ArchiSteamFarm { // ReSharper disable once AccessToDisposedClosure async () => await iPlayerService.CallAsync( - HttpMethod.Get, "GetOwnedGames", args: new Dictionary(3) { + HttpMethod.Get, "GetOwnedGames", args: new Dictionary(3, StringComparer.Ordinal) { { "include_appinfo", 1 }, { "key", steamApiKey }, { "steamid", steamID } @@ -1759,7 +1759,7 @@ namespace ArchiSteamFarm { bool hasTradeToken = !string.IsNullOrEmpty(tradeToken); - Dictionary arguments = new Dictionary(hasTradeToken ? 3 : 2) { + Dictionary arguments = new Dictionary(hasTradeToken ? 3 : 2, StringComparer.Ordinal) { { "key", steamApiKey }, { "steamid_target", steamID } }; @@ -1928,7 +1928,7 @@ namespace ArchiSteamFarm { // ReSharper disable once AccessToDisposedClosure async () => await iSteamUserAuth.CallAsync( - HttpMethod.Post, "AuthenticateUser", args: new Dictionary(3) { + HttpMethod.Post, "AuthenticateUser", args: new Dictionary(3, StringComparer.Ordinal) { { "encrypted_loginkey", encryptedLoginKey }, { "sessionkey", encryptedSessionKey }, { "steamid", steamID }