🚑 should continute when shit goes tits up

This commit is contained in:
ryzetech 2023-01-19 09:07:52 +01:00
parent 405422141b
commit 5a22b731fd
1 changed files with 1 additions and 0 deletions

1
app.js
View File

@ -62,6 +62,7 @@ async function loop() {
//console.log(`Checking ${space.id}...`);
let o = await checkSpace(space);
//console.log(`Space ${space.id} is ${o ? "open" : "closed"}`);
if (typeof o === "undefined") { continue; }
if (o !== cache.get(space.id)) {
cache.set(space.id, o);
let update = await prisma.space.upsert({