🚑 should continute when shit goes tits up
This commit is contained in:
parent
405422141b
commit
5a22b731fd
1 changed files with 1 additions and 0 deletions
1
app.js
1
app.js
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue