diff --git a/functions/src/emailNotifications/templates.ts b/functions/src/emailNotifications/templates.ts index e1355fa03f..e2113c1ddf 100644 --- a/functions/src/emailNotifications/templates.ts +++ b/functions/src/emailNotifications/templates.ts @@ -6,7 +6,7 @@ import { IUserDB, } from '../../../src/models' import { NOTIFICATION_LIST_IMAGE } from './constants' -import prettier from 'prettier' +import { format } from 'prettier' import { getProjectImageSrc, SITE_URL, @@ -26,7 +26,7 @@ export const getNotificationEmailHtml = ( notifications: INotification[], unsubscribeToken: string, ) => - prettier.format( + format( `