Skip to content

Commit 4b5bf78

Browse files
alextran1502arctic-foxtato
authored andcommitted
fix(server): email cannot render with pretty flag (immich-app#15157)
1 parent d83ba1a commit 4b5bf78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/repositories/notification.repository.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class NotificationRepository implements INotificationRepository {
3333

3434
async renderEmail(request: EmailRenderRequest): Promise<{ html: string; text: string }> {
3535
const component = this.render(request);
36-
const html = await render(component, { pretty: true });
36+
const html = await render(component, { pretty: false });
3737
const text = await render(component, { plainText: true });
3838
return { html, text };
3939
}

0 commit comments

Comments
 (0)