Skip to content

Commit

Permalink
Fix: use direct profile url in api requests
Browse files Browse the repository at this point in the history
  • Loading branch information
yakikotori committed Sep 4, 2024
1 parent 870b388 commit 33b8ee5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SmallTail.Asf.BigInventoryFixer/FixMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public class InventoryFixMethods
{"goo_denomination_out", "1000"},
{"goo_amount_out_expected", "1"}
};

var response = await bot.ArchiWebHandler.UrlPostWithSession(
new Uri("https://steamcommunity.com/my/ajaxexchangegoo/"),
new Uri($"https://steamcommunity.com/profiles/{bot.SteamID}/ajaxexchangegoo"),
data: data,
session: ArchiWebHandler.ESession.Lowercase);

Expand Down Expand Up @@ -56,7 +56,7 @@ public class InventoryFixMethods
};

var response = await bot.ArchiWebHandler.UrlPostWithSession(
new Uri("https://steamcommunity.com/my/ajaxexchangegoo/"),
new Uri($"https://steamcommunity.com/profiles/{bot.SteamID}/ajaxexchangegoo"),
data: data,
session: ArchiWebHandler.ESession.Lowercase);

Expand Down

0 comments on commit 33b8ee5

Please sign in to comment.