hotfix: API

This commit is contained in:
@wwwjim 2020-09-02 14:22:56 -07:00
parent a0d8fad3be
commit 26f9804bd7

View File

@ -114,7 +114,7 @@ export default async (req, res) => {
}); });
} }
const cid = req.body.data.ipfs.replace("/ipfs/", ""); const cid = updatedData.ipfs.replace("/ipfs/", "");
const url = `https://${cid}.${Constants.IPFS_GATEWAY_DOMAIN}`; const url = `https://${cid}.${Constants.IPFS_GATEWAY_DOMAIN}`;
const newSlateObjectEntity = { const newSlateObjectEntity = {
id: updatedData.id, id: updatedData.id,