We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09cc112 commit e850512Copy full SHA for e850512
apps/web/src/server/public-api/api/emails/batch-email.ts
@@ -53,7 +53,10 @@ function sendBatch(app: PublicAPIApp) {
53
> = emailPayloads.map((payload) => ({
54
...payload,
55
text: payload.text ?? undefined,
56
- html: payload.html ?? undefined,
+ html:
57
+ payload.html && payload.html !== "true" && payload.html !== "false"
58
+ ? payload.html
59
+ : undefined,
60
teamId: team.id,
61
apiKeyId: team.apiKeyId,
62
}));
0 commit comments