Openstatus www.openstatus.dev

trying to fix email (#1706)

* trying to fix email

* maybe def maybe

authored by

Thibault Le Ouay and committed by
GitHub
363948fb 551c67e6

+3 -2
apps/server/bunfig.toml

This is a binary file and will not be displayed.

+3 -2
packages/emails/src/client.tsx
··· 99 99 return; 100 100 } 101 101 102 - const html = await render(<StatusReportEmail {...req} />); 102 + // const html = await render(<StatusReportEmail {...req} />); 103 103 104 104 for (const recipients of chunk(req.to, 100)) { 105 105 const sendEmail = Effect.tryPromise({ ··· 109 109 from: `${req.pageTitle} <notifications@notifications.openstatus.dev>`, 110 110 subject: req.reportTitle, 111 111 to: subscriber, 112 - html, 112 + // html, 113 + react: <StatusReportEmail {...req} />, 113 114 })), 114 115 ), 115 116 catch: (_unknown) =>