mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added removedevice command to meshctrl.js (#4753)
This commit is contained in:
parent
09bcb739b1
commit
876641f1ac
2 changed files with 41 additions and 26 deletions
|
@ -2781,6 +2781,10 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Send response if required, in this case we always send ok which is not ideal.
|
||||
if (command.responseid != null) { try { ws.send(JSON.stringify({ action: 'removedevices', responseid: command.responseid, result: 'ok' })); } catch (ex) { } }
|
||||
|
||||
break;
|
||||
}
|
||||
case 'wakedevices':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue