This commit is contained in:
Manuel Romero
2020-07-29 11:43:26 +02:00
parent 551ad78345
commit e18fbd7e6e

View File

@@ -410,7 +410,7 @@ router.post('/:userId/provisions/:id/startvms', passport.ensureAuthenticatedAndI
//Re-enable DivvyTags according to schedule
if ( provision.schedule ) {
schedule = await db.schedule.update(provision.schedule._id, {"isStartupTimeEnable": true});
let schedule = await db.schedule.update(provision.schedule._id, {"isStartupTimeEnable": true});
console.log("Re-enabling DivvyTags according to schedule");
var tagsEdit = {
"24x7": schedule.is24x7? " " : false,