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 Tey42cee57fda4f
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 101139a29d..1a3faa0769 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
@@ -175,7 +175,7 @@ export async function confirmPayouts({
await resend!.batch.send(
payoutChunk.map((payout) => ({
from: VARIANT_TO_FROM_MAP.notifications,
- to: [payout.partner.email!],
+ to: payout.partner.email!,
subject: "You've got money coming your way!",
react: PartnerPayoutConfirmed({
email: payout.partner.email!,