Skip to content

Commit 85d3e34

Browse files
authored
Merge branch 'development' into JackHaeg-patch-1
2 parents d634a62 + 588cc4a commit 85d3e34

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

backend/app.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ app.use(morgan('dev'));
5454
// WORKERS
5555
const runOpenCheckinWorker = require('./workers/openCheckins')(cron, fetch);
5656
const runCloseCheckinWorker = require('./workers/closeCheckins')(cron, fetch);
57-
const runCreateRecurringEventsWorker = require('./workers/createRecurringEvents')(cron, fetch);
57+
58+
const { createRecurringEvents } = require('./workers/createRecurringEvents');
59+
const runCreateRecurringEventsWorker = createRecurringEvents(cron, fetch);
60+
5861
// const runSlackBot = require("./workers/slackbot")(fetch);
5962

6063
// MIDDLEWARE

0 commit comments

Comments
 (0)