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.

Update confirm-payouts.ts

Steven Tey1bcfc1dbdf74
diff --git a/apps/web/app/(ee)/api/cron/payouts/confirm/confirm-payouts.ts b/apps/web/app/(ee)/api/cron/payouts/confirm/confirm-payouts.ts
index 1a3faa0769..b382310f22 100644
--- a/apps/web/app/(ee)/api/cron/payouts/confirm/confirm-payouts.ts
+++ b/apps/web/app/(ee)/api/cron/payouts/confirm/confirm-payouts.ts
@@ -172,7 +172,7 @@ export async function confirmPayouts({
100,
);
for (const payoutChunk of payoutChunks) {
- await resend!.batch.send(
+ await resend.batch.send(
payoutChunk.map((payout) => ({
from: VARIANT_TO_FROM_MAP.notifications,
to: payout.partner.email!,