Skip to content

Commit 81018e8

Browse files
author
Cihad Tekin
committed
[core] hotfix: runner uses abstracted collection instance on setup now
1 parent f2b4d27 commit 81018e8

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)