diff --git a/packages/ipfs-api/src/server.ts b/packages/ipfs-api/src/server.ts index 58af20af..9523f63e 100644 --- a/packages/ipfs-api/src/server.ts +++ b/packages/ipfs-api/src/server.ts @@ -66,12 +66,12 @@ async function handleGetLink( return; } - if (record && !record.skylink) { - // TODO: we can retry the IPFS download and skynet upload here if - // time.Since(createdAt) exceeds some threshold - res.status(200).send({ error: "processing" }); - return; - } + // if (record && !record.skylink) { + // // TODO: we can retry the IPFS download and skynet upload here if + // // time.Since(createdAt) exceeds some threshold + // res.status(200).send({ error: "processing" }); + // return; + // } // insert an empty record for the cid await recordsDB.insertOne({ cid, createdAt: new Date(), skylink: "" });