From 4245b5bc037d0be8c215fd0d1b858958954c90f6 Mon Sep 17 00:00:00 2001 From: Nikhil Dange Date: Fri, 3 May 2024 13:08:30 -0700 Subject: [PATCH] nvm all of them need to be changed --- services/EmailService.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services/EmailService.ts b/services/EmailService.ts index 0596a3af..70e1646a 100644 --- a/services/EmailService.ts +++ b/services/EmailService.ts @@ -86,7 +86,7 @@ export default class EmailService { order, orderItems: ejs.render(EmailService.itemDisplayTemplate, { items: order.items, totalCost: order.totalCost }), pickupEvent: order.pickupEvent, - link: `${Config.client}/store/order/${order.uuid}`, + link: `${Config.client}/store/orders`, }), }; await this.sendEmail(data); @@ -160,7 +160,7 @@ export default class EmailService { firstName, order, orderItems: ejs.render(EmailService.itemDisplayTemplate, { items: order.items, totalCost: order.totalCost }), - link: `${Config.client}/store/order/${order.uuid}`, + link: `${Config.client}/store/orders`, }), }; await this.sendEmail(data); @@ -179,7 +179,7 @@ export default class EmailService { firstName, order, orderItems: ejs.render(EmailService.itemDisplayTemplate, { items: order.items, totalCost: order.totalCost }), - link: `${Config.client}/store/order/${order.uuid}`, + link: `${Config.client}/store/orders`, }), }; await this.sendEmail(data); @@ -219,7 +219,7 @@ export default class EmailService { unfulfilledItems: ejs.render(EmailService.itemDisplayTemplate, { items: unfulfilledItems }), fulfilledItems: ejs.render(EmailService.itemDisplayTemplate, { items: fulfilledItems }), pickupEvent, - link: `${Config.client}/store/order/${orderUuid}`, + link: `${Config.client}/store/orders`, }), }; await this.sendEmail(data);