Skip to content

Commit

Permalink
Merge pull request #233 from dappforce/staging
Browse files Browse the repository at this point in the history
Revert fix
  • Loading branch information
olehmell committed Mar 26, 2024
2 parents f13ab4e + 05fe57a commit ac9c010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ipfs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ function getIpfsApi() {
ipfs,
saveAndPinJson: async (content: Record<any, any>) => {
const cid = await ipfs.saveJson(content)
ipfs.pinContent(cid, props)
// ipfs.pinContent(cid, props)
return cid
},
saveAndPinFile: async (file: any) => {
const cid = await ipfs.saveFile(file)
ipfs.pinContent(cid, props)
// ipfs.pinContent(cid, props)
return cid
},
}
Expand Down

0 comments on commit ac9c010

Please sign in to comment.