Skip to content

Commit

Permalink
Fix store email links (#438)
Browse files Browse the repository at this point in the history
* fixed email link for missed pickup

* nvm all of them need to be changed
  • Loading branch information
nik-dange authored May 3, 2024
1 parent fd7c228 commit 4159213
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions services/EmailService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand All @@ -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);
Expand All @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 4159213

Please sign in to comment.