Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/condo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"less-loader": "catalog:",
"lodash": "catalog:",
"lru-cache": "^7.18.3",
"mjml": "^4.15.3",
"mjml": "^5.0.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Await MJML 5 before reading html

With this bump, MJML 5's mjml2html API is async and returns a Promise, but the existing email renderer still does mjml2html(...).html in apps/condo/domains/notification/templates.js:303. For messages rendered only from email.mjml.njk (for example VERIFY_USER_EMAIL and SEND_DAILY_STATISTICS), html becomes undefined, so apps/condo/domains/notification/transports/email.js:51 rejects the send with no text or html argument; please await the conversion (callers already await renderTemplate) or keep a synchronous MJML version.

Useful? React with 👍 / 👎.

"n2words": "1.15.0",
"nanoid": "^3.3.4",
"next": "catalog:",
Expand Down
Loading
Loading