diff --git a/creator-node/src/routes/audiusUsers.js b/creator-node/src/routes/audiusUsers.js index 32b2c8cd3ce..1a99795578f 100644 --- a/creator-node/src/routes/audiusUsers.js +++ b/creator-node/src/routes/audiusUsers.js @@ -35,7 +35,7 @@ module.exports = function (app) { // Save file from buffer to IPFS and disk let multihash, dstPath try { - const resp = await saveFileFromBufferToIPFSAndDisk(req, metadataBuffer) + const resp = await saveFileFromBufferToIPFSAndDisk(req, metadataBuffer, true) multihash = resp.multihash dstPath = resp.dstPath } catch (e) { diff --git a/creator-node/src/routes/tracks.js b/creator-node/src/routes/tracks.js index d7aca3888a2..924f5dc8e86 100644 --- a/creator-node/src/routes/tracks.js +++ b/creator-node/src/routes/tracks.js @@ -362,7 +362,7 @@ module.exports = function (app) { // Save file from buffer to IPFS and disk let multihash, dstPath try { - const resp = await saveFileFromBufferToIPFSAndDisk(req, metadataBuffer) + const resp = await saveFileFromBufferToIPFSAndDisk(req, metadataBuffer, true) multihash = resp.multihash dstPath = resp.dstPath } catch (e) {