fix location
This commit is contained in:
parent
6588172e66
commit
b7f19fe5d4
|
@ -66,12 +66,12 @@ async function handleGetLink(
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (record && !record.skylink) {
|
// if (record && !record.skylink) {
|
||||||
// TODO: we can retry the IPFS download and skynet upload here if
|
// // TODO: we can retry the IPFS download and skynet upload here if
|
||||||
// time.Since(createdAt) exceeds some threshold
|
// // time.Since(createdAt) exceeds some threshold
|
||||||
res.status(200).send({ error: "processing" });
|
// res.status(200).send({ error: "processing" });
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
// insert an empty record for the cid
|
// insert an empty record for the cid
|
||||||
await recordsDB.insertOne({ cid, createdAt: new Date(), skylink: "" });
|
await recordsDB.insertOne({ cid, createdAt: new Date(), skylink: "" });
|
||||||
|
|
Reference in New Issue