Skip to content

Commit

Permalink
fix: Force the request of a single NFT to not be cached
Browse files Browse the repository at this point in the history
  • Loading branch information
LautaroPetaccio committed Dec 29, 2024
1 parent edcd3bc commit 2ec14e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/modules/vendor/decentraland/nft/authApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class NFTAuthAPI extends BaseClient {
: null
)
}
const response: NFTResponse = await this.fetch(`/v1/nfts?${queryParams.toString()}`)
const response: NFTResponse = await this.fetch(`/v1/nfts?${queryParams.toString()}`, { cache: 'reload' })

if (response.data.length === 0) {
throw new Error('Not found')
Expand Down

0 comments on commit 2ec14e6

Please sign in to comment.