Skip to content
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

Merged
merged 8 commits into from
Mar 27, 2025
Merged

Payout reminders #2213

merged 8 commits into from
Mar 27, 2025

Conversation

steven-tey
Copy link
Collaborator

No description provided.

Copy link

vercel bot commented Mar 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
dub ✅ Ready (Inspect) Visit Preview Mar 27, 2025 0:24am

@steven-tey steven-tey requested a review from Copilot March 27, 2025 00:18
Copy link
Contributor

@Copilot Copilot AI left a 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

@steven-tey steven-tey merged commit e4e5192 into main Mar 27, 2025
6 checks passed
@steven-tey steven-tey deleted the payout-reminders branch March 27, 2025 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants