Enable/Disable sets saved to false

pull/93/head^2
alse 5 years ago
parent c9a3ab099c
commit f71d48a8be

@ -56,7 +56,7 @@ exports.update = function(data){
}; };
exports.status = function(_id, stopped){ exports.status = function(_id, stopped){
db.update({_id: _id},{$set: {stopped: stopped}}); db.update({_id: _id},{$set: {stopped: stopped, saved: false}});
}; };
exports.remove = function(_id){ exports.remove = function(_id){

Loading…
Cancel
Save