Skip to content

Commit fa76136

Browse files
Update runner.js
1 parent 5839562 commit fa76136

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/parts/jobs/runner.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let leader, // leader doc
2323
*/
2424
function setup() {
2525
if (!collection) {
26-
common.db.createCollection(COLLECTION, (err, col) => {
26+
common.db.createCollection(COLLECTION, (err) => {
2727
if (err) {
2828
log.d('collection exists');
2929
collection = common.db.collection(COLLECTION);
@@ -406,4 +406,4 @@ module.exports = {
406406
// console.log('resolving');
407407
// return new Promise(res => setTimeout(res, 10000 * Math.random()));
408408
// }
409-
// });
409+
// });

0 commit comments

Comments
 (0)