Skip to content

Commit 8f3632e

Browse files
committed
exclude program payout reminders
1 parent c446d4d commit 8f3632e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • apps/web/app/(ee)/api/cron/payouts/reminders/partners

apps/web/app/(ee)/api/cron/payouts/reminders/partners/route.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ async function handler(req: Request) {
3737
in: ["pending", "processing", "processed", "failed"],
3838
},
3939
programId: {
40-
not: ACME_PROGRAM_ID,
40+
notIn: [
41+
ACME_PROGRAM_ID,
42+
// programs that are in the migration process
43+
"prog_1KPAZMF49X9A1WEWRBM55KZY7",
44+
],
4145
},
4246
partner: {
4347
payoutsEnabledAt: null,

0 commit comments

Comments
 (0)