-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Payout reminders #2213
Payout reminders #2213
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements a new payout reminder email template and adds a corresponding cron API endpoint to automate sending reminder emails to partners with pending payouts.
- Introduces the ConnectPayoutReminder email template in the email package.
- Implements a new API route in the web app to process pending payouts and send out reminder emails.
Reviewed Changes
Copilot reviewed 2 out of 5 changed files in this pull request and generated no comments.
File | Description |
---|---|
packages/email/src/templates/connect-payout-reminder.tsx | New email template for prompting partners to connect their payout details. |
apps/web/app/api/cron/payouts/reminders/route.ts | New cron API endpoint that queries pending payouts and sends reminder emails accordingly. |
Files not reviewed (3)
- apps/web/vercel.json: Language not supported
- packages/prisma/schema/partner.prisma: Language not supported
- packages/prisma/schema/payout.prisma: Language not supported
No description provided.