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

Commit 3ffdc3b

Browse files
fix(#3): if item have limitations do a search
1 parent c959972 commit 3ffdc3b

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
@@ -44,7 +44,7 @@ function pushNewCandidates() {
4444
const promises = new Array();
4545

4646
for (let i = 0, len = items.length; i < len; i++) {
47-
if (hasItemNoLimitations(items[i])) {
47+
if (!hasItemNoLimitations(items[i])) {
4848
promises.push(hasItemCandidates(items[i]));
4949
}
5050
}

0 commit comments

Comments
 (0)