mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-02 17:35:57 -05:00
Fixed server APF crash.
This commit is contained in:
parent
1d4e397455
commit
5848d38903
@ -719,8 +719,8 @@ module.exports.CreateMpsServer = function (parent, db, args, certificates) {
|
|||||||
|
|
||||||
// Event the new node
|
// Event the new node
|
||||||
addedDeviceCount++;
|
addedDeviceCount++;
|
||||||
var change = 'CIRA added device ' + socket.tag.name + ' to group ' + mesh.name;
|
var change = 'CIRA added device ' + socket.tag.name + ' to group ' + initialMesh.name;
|
||||||
obj.parent.DispatchEvent(['*', socket.tag.meshid], obj, { etype: 'node', action: 'addnode', node: parent.webserver.CloneSafeNode(device), msg: change, domain: mesh.domain });
|
obj.parent.DispatchEvent(['*', socket.tag.meshid], obj, { etype: 'node', action: 'addnode', node: parent.webserver.CloneSafeNode(device), msg: change, domain: initialMesh.domain });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user