fix(deps): update typescript-projects (#11927)

* fix(deps): update typescript-projects

* chore: clean up

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
This commit is contained in:
renovate[bot]
2024-08-28 12:00:10 -04:00
committed by GitHub
parent e705831e67
commit cc4e5298ff
17 changed files with 1414 additions and 1364 deletions

View File

@@ -33,10 +33,10 @@ export class NotificationRepository implements INotificationRepository {
}
}
renderEmail(request: EmailRenderRequest): { html: string; text: string } {
async renderEmail(request: EmailRenderRequest): Promise<{ html: string; text: string }> {
const component = this.render(request);
const html = render(component, { pretty: true });
const text = render(component, { plainText: true });
const html = await render(component, { pretty: true });
const text = await render(component, { plainText: true });
return { html, text };
}