diff --git a/controllers/h.ts b/controllers/h.ts index fe5cf1bd..d9ee117f 100644 --- a/controllers/h.ts +++ b/controllers/h.ts @@ -49,7 +49,7 @@ export const handler: NextApiHandler = api(async (req, res) => { sender: 'Dolph Notify', to: 'dolph.pham@gmail.com', subject: '[Clickdi] Heartbeat', - text: `${t ? TEMPLATE[t] || '' : ''}`, + text: `${TEMPLATE[t] || ''}`, attachments: [ { filename: `clickdi-${date().format()}.pdf`,