Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix: generalize
Marc Seitz78107f2b4381
diff --git a/lib/year-in-review/send-emails.ts b/lib/year-in-review/send-emails.tsindex 630755f0..f65419c3 100644--- a/lib/year-in-review/send-emails.ts+++ b/lib/year-in-review/send-emails.ts@@ -60,15 +60,6 @@ export async function processEmailQueue() {const jobs = await prisma.yearInReview.findMany({where: {AND: [- {- teamId: {- in: [- "cluqtfmcr0001zkza4xcgqatw",- "clopqa2mm0002etseyjkza9hw",- "clwc059tk00047xqu0zfhcy7n",- ],- },- },{ status: "pending" },{ attempts: { lt: MAX_ATTEMPTS } },{ stats: { path: ["totalViews"], gt: 1 } },