From c0f11965ed2d7547a9d27d70ec930de88cd19489 Mon Sep 17 00:00:00 2001 From: Dovile Date: Mon, 19 Aug 2024 11:41:14 +0300 Subject: [PATCH] Use different template --- utils/mails.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/mails.ts b/utils/mails.ts index 849e0ed..0876817 100644 --- a/utils/mails.ts +++ b/utils/mails.ts @@ -88,11 +88,12 @@ export function notifyOnRequestUpdate( return client.sendEmailWithTemplate({ From: sender, To: email.toLowerCase(), - TemplateId: 32594663, + TemplateId: 37004046, TemplateModel: { title: updateType, - titleText: updateType.toLowerCase(), + titleText: updateType, actionUrl: `${hostUrl(isAdmin)}/${path}/${requestId}`, + requestId, }, }); }