1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-02-12 11:01:52 +00:00

Fix server exception.

This commit is contained in:
Ylian Saint-Hilaire 2021-02-03 21:59:26 -08:00
parent 0d67041751
commit 9d052cb0e4

View file

@ -1689,8 +1689,8 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
// If the device is pending a change, hold. // If the device is pending a change, hold.
if (obj.deviceChanging === true) { if (obj.deviceChanging === true) {
var func = function ChangeAgentTagFunc() { ChangeAgentCoreInfo(ChangeAgentTagFunc.cmd); } var func = function ChangeAgentTagFunc() { ChangeAgentCoreInfo(ChangeAgentTagFunc.tag); }
func.cmd = command; func.tag = tag;
setTimeout(func, 100); setTimeout(func, 100);
return; return;
} }