⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
minor fix
daniel31x13fbb9f7af230e
diff --git a/apps/worker/lib/getLinkBatchFairly.ts b/apps/worker/lib/getLinkBatchFairly.tsindex 7cd35e0b..28952488 100644--- a/apps/worker/lib/getLinkBatchFairly.ts+++ b/apps/worker/lib/getLinkBatchFairly.ts@@ -33,8 +33,16 @@ export default async function getLinkBatchFairly({while (candidateUserIds.length < maxBatchLinks) {const baseUserWhere: Prisma.UserWhereInput = {OR: [- { subscriptions: { is: { active: true } } },- { parentSubscription: { is: { active: true } } },+ {+ subscriptions: process.env.STRIPE_SECRET_KEY+ ? { is: { active: true } }+ : undefined,+ },+ {+ parentSubscription: process.env.STRIPE_SECRET_KEY+ ? { is: { active: true } }+ : undefined,+ },],};const userWhere: Prisma.UserWhereInput =