diff --git a/ArchiSteamFarm/ArchiWebHandler.cs b/ArchiSteamFarm/ArchiWebHandler.cs index 7692cd63562fe..2370a05808412 100644 --- a/ArchiSteamFarm/ArchiWebHandler.cs +++ b/ArchiSteamFarm/ArchiWebHandler.cs @@ -392,10 +392,10 @@ internal bool DeclineTradeOffer(ulong tradeID) { return true; } - internal async Task> GetInventory() { + internal async Task> GetMyTradingInventory() { JObject jObject = null; for (byte i = 0; i < WebBrowser.MaxRetries && jObject == null; i++) { - jObject = await WebBrowser.UrlGetToJObject("https://steamcommunity.com/my/inventory/json/753/6", Cookie).ConfigureAwait(false); + jObject = await WebBrowser.UrlGetToJObject("https://steamcommunity.com/my/inventory/json/753/6?trading=1", Cookie).ConfigureAwait(false); } if (jObject == null) { diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 286c43fad73de..497d3d256b3ff 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -522,7 +522,7 @@ internal async Task ResponseSendTrade() { } await Trading.LimitInventoryRequestsAsync().ConfigureAwait(false); - List inventory = await ArchiWebHandler.GetInventory().ConfigureAwait(false); + List inventory = await ArchiWebHandler.GetMyTradingInventory().ConfigureAwait(false); if (inventory == null || inventory.Count == 0) { return "Nothing to send, inventory seems empty!";