Skip to content

Commit 8f6e857

Browse files
author
Vikas Agarwal
committed
possible fix for silent kill of the notifications kafka consumer
1 parent eb5dbe4 commit 8f6e857

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
@@ -85,7 +85,7 @@ const getNotificationsForMentionedUser = (eventConfig, content) => {
8585
// only one per userHandle
8686
notifications = _.uniqBy(notifications, 'userHandle');
8787

88-
return new Promise((resolve) => {
88+
return new Promise((resolve, reject) => { // eslint-disable-line no-unused-vars
8989
const handles = _.map(notifications, 'userHandle');
9090
if (handles.length > 0) {
9191
service.getUsersByHandle(handles).then((users) => {

0 commit comments

Comments
 (0)