Skip to content

Commit 7da5871

Browse files
author
Vikas Agarwal
committed
Fixed condition for adding cc in user mention event
1 parent 9377bbc commit 7da5871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function startKafkaConsumer(handlers) {
9292
}
9393
const recipients = [userEmail];
9494
const cc = [];
95-
if (notificationType === BUS_API_EVENT.EMAIL.MENTIONED_IN_POST) {
95+
if (eventType === BUS_API_EVENT.EMAIL.MENTIONED_IN_POST) {
9696
cc.push(config.MENTION_EMAIL);
9797
}
9898
const categories = [`${config.ENV}:${eventType}`];

0 commit comments

Comments
 (0)