Closed gpsamson closed 1 year ago
Latest commit: 071e5f7e003ef269acec863fb63b1daf934a3024
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
@gpsamson is attempting to deploy a commit to the sofn Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
mailing-dynamic-demo | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 31, 2023 5:51pm |
web-emails | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 31, 2023 5:51pm |
Love it! Can you add a test? I think this would be a good spot: https://github.com/sofn-xyz/mailing/blob/main/packages/cli/src/pages/api/__integration__/render.test.ts
Love it! Can you add a test? I think this would be a good spot: https://github.com/sofn-xyz/mailing/blob/main/packages/cli/src/pages/api/__integration__/render.test.ts
Sure thing! Expanded the test in https://github.com/sofn-xyz/mailing/pull/470/commits/766d326b15c9607639d9c8e6c0b6352469382b0d and fixed a piece.
Thanks
Beautiful, thanks so much! I'll add a patch changeset in main.
Describe your changes
This pull request updates the
/api/render
endpoint to return the template'ssubject
if it exists. It also fixes an issue where MJML render errors were not being returned under themjmlErrors
property as described in https://www.mailing.run/docs/rest-api#api-render.Checklist before requesting a review