Skip to content

Commit

Permalink
Update store endpoint to use POST
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgi-o authored Sep 25, 2024
1 parent 6e30c0c commit b48f08e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions valorant/shop.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const getShop = async (id, account = null) => {

// https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Store/GET%20Store_GetStorefrontV2.md
const req = await fetch(`https://pd.${userRegion(user)}.a.pvp.net/store/v3/storefront/${user.puuid}`, {
method: "POST",
headers: {
"Authorization": "Bearer " + user.auth.rso,
"X-Riot-Entitlements-JWT": user.auth.ent,
Expand Down

0 comments on commit b48f08e

Please sign in to comment.