Skip to content

Commit

Permalink
fix: pinata image upload
Browse files Browse the repository at this point in the history
  • Loading branch information
damienen committed May 14, 2024
1 parent b661726 commit 7547e83
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itheum/sdk-mx-data-nft",
"version": "3.5.0-alpha.5",
"version": "3.5.0-alpha.6",
"description": "SDK for Itheum's Data NFT Technology on MultiversX Blockchain",
"main": "out/index.js",
"types": "out/index.d.js",
Expand Down
3 changes: 1 addition & 2 deletions src/common/mint-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ async function storeImageToIpfs(image: Blob, storageToken: string) {
const options = {
method: 'POST',
headers: {
Authorization: `Bearer ${storageToken}`,
'Content-Type': 'multipart/form-data'
Authorization: `Bearer ${storageToken}`
},
body: form
};
Expand Down

0 comments on commit 7547e83

Please sign in to comment.