The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update process-payouts.ts
Steven Tey78cdb59a84d1
diff --git a/apps/web/app/(ee)/api/cron/payouts/process/process-payouts.ts b/apps/web/app/(ee)/api/cron/payouts/process/process-payouts.tsindex b6aa5480b6..275049bee5 100644--- a/apps/web/app/(ee)/api/cron/payouts/process/process-payouts.ts+++ b/apps/web/app/(ee)/api/cron/payouts/process/process-payouts.ts@@ -79,19 +79,6 @@ export async function processPayouts({? { id: { notIn: excludedPayoutIds } }: {}),...getPayoutEligibilityFilter(program),- ...(cutoffPeriodValue && {- OR: [- {- periodStart: null,- periodEnd: null,- },- {- periodEnd: {- lte: cutoffPeriodValue,- },- },- ],- }),},data: {invoiceId: invoice.id,