Skip to content

Commit 9628c8d

Browse files
authored
Merge pull request #5710 from Countly/runner-hotfix-use-abstracted-collection
[core] hotfix: runner uses abstracted collection instance on setup now
2 parents 198e4e3 + 81018e8 commit 9628c8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/parts/jobs/runner.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function setup() {
4040
});
4141
}
4242
else {
43-
collection = col;
43+
collection = common.db.collection(COLLECTION);
4444
setImmediate(periodic);
4545
}
4646
});

0 commit comments

Comments
 (0)