Skip to content

Commit

Permalink
Merge pull request #128 from MaxencePaulin/patch-1
Browse files Browse the repository at this point in the history
Add an empty body for fix error 400
  • Loading branch information
giorgi-o authored Nov 14, 2024
2 parents b48f08e + 8ae5fa9 commit 7840a19
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 7840a19

Please sign in to comment.