We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e592a48 + c960bcf commit 7f79849Copy full SHA for 7f79849
src/lib/page_scripts/trade_offer.ts
@@ -95,7 +95,7 @@ function injectInventoryFallback() {
95
fOnFailure: () => any,
96
fOnComplete: () => any
97
) {
98
- if (strUrl.startsWith(g_strInventoryLoadURL!) && transport.status === 429) {
+ if (strUrl.startsWith(g_strInventoryLoadURL!) && transport.status >= 400) {
99
// User was rate limited... try the fallback.
100
try {
101
const newInventory = await fetchInventoryWithAPIKey();
0 commit comments