fix missing await

This commit is contained in:
Alex Holliday committed 2026-03-05 13:57:39 -08:00
1 parent 31efa791bd
commit c5c9a1a88b
1 file changed
+1 -1
@@ -94,7 +94,7 @@ class EmailService implements IEmailService {
if (!mjml) { if (!mjml) {
throw new Error(`Template ${template} not found`); throw new Error(`Template ${template} not found`);
} }
const html = this.mjml2html(mjml); const html = await this.mjml2html(mjml);
return html.html; return html.html;
} catch (error: unknown) { } catch (error: unknown) {
this.logger.error({ this.logger.error({