mirror of
https://github.com/immich-app/immich.git
synced 2025-12-28 01:11:47 +03:00
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:
@@ -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 };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user