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:
parent
0d67041751
commit
9d052cb0e4
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue