Skip to content

Commit 8a0cc76

Browse files
author
Vikas Agarwal
committed
fixed
1 parent c6a9096 commit 8a0cc76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connect/notificationServices/email.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ function handler(topicName, messageJSON, notification) {
205205
const user = users && users.length > 0 ? users[0] : null;
206206
let userEmail = _.get(user, 'email');
207207
if (!userEmail) {
208-
logger.error(`Email not received for user: ${user.id}`);
208+
logger.error(`Email not received for user: ${notification.userId}`);
209209
return;
210210
}
211211
const userStatus = _.get(user, 'status');

0 commit comments

Comments
 (0)