delete_restart.js
351 Bytes
'use strict';
import Model from './model';
class DeleteRestart extends Model {
constructor() {
super('delete_restart');
}
async updateState(id, state) {
await this.update({
_id: id
}, {
$set: {
state: state
}
});
}
}
export default DeleteRestart;