Commit bade9430 authored by NGPixel's avatar NGPixel

fix: storage internalSchedule typo

parent d1dd1f19
...@@ -152,11 +152,11 @@ module.exports = class Storage extends Model { ...@@ -152,11 +152,11 @@ module.exports = class Storage extends Model {
} }
// -> Set internal recurring sync job // -> Set internal recurring sync job
if (targetDef.intervalSchedule && targetDef.intervalSchedule !== `P0D`) { if (targetDef.internalSchedule && targetDef.internalSchedule !== `P0D`) {
WIKI.scheduler.registerJob({ WIKI.scheduler.registerJob({
name: `sync-storage`, name: `sync-storage`,
immediate: false, immediate: false,
schedule: target.intervalSchedule, schedule: target.internalSchedule,
repeat: true repeat: true
}, target.key) }, target.key)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment