merge-requests/367/head
Moe 2022-07-07 09:58:20 -07:00
commit a6c8595550
1 changed files with 3 additions and 2 deletions

View File

@ -8,10 +8,11 @@ module.exports = function(s,config,lang,app,io){
columns: "*",
table: "Schedules"
},(err,rows) => {
rows.forEach(function(schedule){
rows && rows.forEach(function(schedule){
s.updateSchedule(schedule)
})
if(callback)callback()
if(callback && typeof callback === 'function')callback()
})
}
//update schedule