From b7f19fe5d48fe3934490678b6f9c45afa9dfb5ad Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Fri, 17 Sep 2021 16:24:50 +0200 Subject: [PATCH] fix location --- packages/ipfs-api/src/server.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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: "" });