Skip to content

fix: parse TO_EMAIL as comma-separated list#6

Merged
masonlet merged 1 commit into
mainfrom
fix/to-email
Mar 23, 2026
Merged

fix: parse TO_EMAIL as comma-separated list#6
masonlet merged 1 commit into
mainfrom
fix/to-email

Conversation

@masonlet

Copy link
Copy Markdown
Owner

Changes

Parses TO_EMAIL similarly to ALLOWED_ORIGINS allowing for multiple recipients properly

  • Config.toEmail renamed to Config.toEmails
  • Config.toEmails typed as string[] (was string | string[] | undefined)
  • Tests updated to reflect the array-only shape

@vercel

vercel Bot commented Mar 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
contact-api Ready Ready Preview, Comment Mar 23, 2026 5:22pm

@masonlet masonlet merged commit 0a16d82 into main Mar 23, 2026
3 checks passed
@masonlet masonlet deleted the fix/to-email branch March 23, 2026 17:24
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.

1 participant