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 route.ts

Kiran K9089c7b7cf82
diff --git a/apps/web/app/(ee)/api/cron/payouts/reminders/program-owners/route.ts b/apps/web/app/(ee)/api/cron/payouts/reminders/program-owners/route.ts
index 6c9b418a86..6d29cf6d28 100644
--- a/apps/web/app/(ee)/api/cron/payouts/reminders/program-owners/route.ts
+++ b/apps/web/app/(ee)/api/cron/payouts/reminders/program-owners/route.ts
@@ -95,15 +95,14 @@ export async function GET(req: Request) {
limiter.schedule(() =>
sendEmail({
subject: `Payouts ready to be confirmed for ${program.name}`,
- // email: user.email!,
- email: "[email protected]",
+ email: user.email!,
react: ProgramPayoutReminder({
email: user.email!,
workspace,
program,
payout,
}),
- // variant: "notifications",
+ variant: "notifications",
}),
),
),