Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

unpause cron

Steven Teya74276ca46ad
diff --git a/apps/web/app/(ee)/api/cron/payouts/charge-succeeded/route.ts b/apps/web/app/(ee)/api/cron/payouts/charge-succeeded/route.ts
index 2a6a465c30..3707571a31 100644
--- a/apps/web/app/(ee)/api/cron/payouts/charge-succeeded/route.ts
+++ b/apps/web/app/(ee)/api/cron/payouts/charge-succeeded/route.ts
@@ -87,10 +87,7 @@ export async function POST(req: Request) {
}),
]);
- if (
- invoice._count.payouts > 100 &&
- invoice.id !== "inv_1K858PN9HDXYG47RVC6C6ZT7N"
- ) {
+ if (invoice._count.payouts > 100) {
console.log(
"More than 100 payouts found for invoice, scheduling next batch...",
);