Skip to content

Commit

Permalink
Add an empty body for fix error 400
Browse files Browse the repository at this point in the history
To fix issue #127
  • Loading branch information
MaxencePaulin authored Sep 25, 2024
1 parent b48f08e commit 8ae5fa9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion valorant/shop.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export const getShop = async (id, account = null) => {
"Authorization": "Bearer " + user.auth.rso,
"X-Riot-Entitlements-JWT": user.auth.ent,
...riotClientHeaders(),
}
},
body: JSON.stringify({})
});
console.assert(req.statusCode === 200, `Valorant skins offers code is ${req.statusCode}!`, req);

Expand Down

0 comments on commit 8ae5fa9

Please sign in to comment.