Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Send headers in refresh request (#1393)
Browse files Browse the repository at this point in the history
  • Loading branch information
rshtirmer authored Mar 11, 2022
1 parent 12b17e5 commit 53908c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils/api/marketplace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ export const sendReportRequest = async (values: any) => {
export const sendRefreshMetadataRequest = async (collectionAddress: string, tokenId: string) => {
const result = await fetch(`${process.env.REACT_APP_DATASCRAPER_BACKEND}/v1/tokens/refresh`, {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
contract: utils.getAddress(collectionAddress),
tokenId,
Expand Down

0 comments on commit 53908c8

Please sign in to comment.