Skip to content

Commit f016b66

Browse files
author
Vikas Agarwal
committed
Fixed event name for user mention
1 parent ef98d1e commit f016b66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connect/connectNotificationServer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const getNotificationsForMentionedUser = (eventConfig, content) => {
7575
const handle = matches[1].toString();
7676
notifications.push({
7777
userHandle: handle,
78-
newType: BUS_API_EVENT.EMAIL.MENTIONED_IN_POST,
78+
newType: BUS_API_EVENT.CONNECT.MENTIONED_IN_POST,
7979
contents: {
8080
toUserHandle: true,
8181
},

0 commit comments

Comments
 (0)