We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 167f048 commit 7a3d6cbCopy full SHA for 7a3d6cb
worker/halloween.js
@@ -11,7 +11,7 @@ export async function halloween ({ models }) {
11
SELECT "userId" FROM "Item"
12
WHERE created_at > ${datePivot(new Date(), { hours: -HALLOWEEN_INACTIVITY_TIMEOUT_HOURS })}
13
AND ("invoiceActionState" IS NULL OR "invoiceActionState" = 'PAID')
14
- )
+ ) AND NOT "cured"
15
),
16
new_infections AS (
17
INSERT INTO "Infection" ("infecteeId")
0 commit comments