Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Commit cd779ce

Browse files
fix(#3): missing populated user object
1 parent d18560f commit cd779ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cronjobs/push-new-candidates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function pushNewCandidates() {
6060

6161
for (let i = 0, len = values.length; i < len; i++) {
6262
if (values[i].hasCandidates) {
63-
pushCandidatesHelper.sendPushNotification(values[i], 'ITEMS.NEW_CANDIDATES');
63+
pushCandidatesHelper.sendPushNotification(values[i].item.user, 'ITEMS.NEW_CANDIDATES');
6464
loggerCount++;
6565
}
6666
}

0 commit comments

Comments
 (0)