We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f585fa commit 0b661ecCopy full SHA for 0b661ec
back/api/campaign/services/campaign.js
@@ -144,7 +144,6 @@ module.exports = {
144
145
if (Boolean(campaign?.confirmation_notification_date)) {
146
const selectionNotificationDate = new Date(campaign.confirmation_notification_date)
147
-
148
if (selectionNotificationDate.toDateString() === today.toDateString()) {
149
const placesMap = {}
150
back/extensions/email/services/email.js
@@ -21,6 +21,11 @@ const sendEmail = async (
21
data = {},
22
isAdmin = false
23
) => {
24
+ if (template.templateId !== 'confirmation-preselection-place') {
25
+ console.log(`skipping ${template.templateId}`)
26
+ return
27
+ }
28
+
29
if (!template.templateId) {
30
console.log("No template id given");
31
return;
0 commit comments