mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-24 05:03:14 -05:00
Fix server exception.
This commit is contained in:
parent
0d67041751
commit
9d052cb0e4
@ -1689,8 +1689,8 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
|
||||
|
||||
// If the device is pending a change, hold.
|
||||
if (obj.deviceChanging === true) {
|
||||
var func = function ChangeAgentTagFunc() { ChangeAgentCoreInfo(ChangeAgentTagFunc.cmd); }
|
||||
func.cmd = command;
|
||||
var func = function ChangeAgentTagFunc() { ChangeAgentCoreInfo(ChangeAgentTagFunc.tag); }
|
||||
func.tag = tag;
|
||||
setTimeout(func, 100);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user