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

Fix: prevent headers being lost when attachments are added #73

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

Kobo-one
Copy link
Contributor

I noticed when using both custom headers and attachments my headers disappeared on the data being sent to the resend API.
It seems the headers array is being overwritten bij the attachments loop.

@jayanratna
Copy link
Collaborator

Great catch! Thanks for fixing this ❤️

@jayanratna jayanratna merged commit 3bcdeb9 into resend:main Jan 29, 2025
6 checks passed
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