Skip to content

Commit 9c2d368

Browse files
committed
Syncing notification type to template id
1 parent 0daafec commit 9c2d368

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/EmailNotificationService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ async function sendEmail (currentUser, data) {
489489
}
490490
const emailData = {
491491
serviceId: 'email',
492-
type: 'taas.notification.request-submitted',
492+
type: data.template,
493493
details: {
494494
from: data.from || template.from,
495495
recipients: _.map(_.uniq([...dataRecipients, ...templateRecipients]), function (r) { return { email: r } }),

0 commit comments

Comments
 (0)