feat: admin - download locale strings from graph

This commit is contained in:
NGPixel
2018-05-06 23:21:48 -04:00
parent 9f8feb6540
commit ba6b4bc4dd
8 changed files with 139 additions and 14 deletions

View File

@@ -24,10 +24,12 @@ module.exports = {
removeOnComplete: true
})
}
this.job[queueName].add({}, {
repeat: { cron: queueParams.cron },
removeOnComplete: true
})
if (queueParams.cron) {
this.job[queueName].add({}, {
repeat: { cron: queueParams.cron },
removeOnComplete: true
})
}
})
},
async clean() {