1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Added --removesubdomain command, #3440

This commit is contained in:
Ylian Saint-Hilaire 2022-01-11 17:30:50 -08:00
parent 7691265e32
commit 01dbc70098
5 changed files with 51 additions and 7 deletions

View file

@ -1287,6 +1287,7 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
delete command.action;
command.updateTime = Date.now();
command._id = 'if' + obj.dbNodeKey;
command.domain = domain.id;
command.type = 'ifinfo';
db.Set(command);