diff --git a/services/EmailService.ts b/services/EmailService.ts index ac99929c..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); @@ -141,7 +141,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); @@ -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);