From 1eb893f3ca8e4311f347ef02a66557b9461b03ca Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Tue, 11 May 2021 15:48:28 -0700 Subject: [PATCH] Server fixes for MeshCentral Assistant. --- meshagent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshagent.js b/meshagent.js index ed558c38..521d2b88 100644 --- a/meshagent.js +++ b/meshagent.js @@ -1426,7 +1426,7 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) { // Any "help" session must have an associated app, if not, remove it. if (obj.sessions.help != null) { - for (var i in obj.sessions.help) { if (obj.sessions.app[i] == null) { delete obj.sessions.help[i]; } } + for (var i in obj.sessions.help) { if (obj.sessions.help[i] == null) { delete obj.sessions.help[i]; } } if (Object.keys(obj.sessions.help).length == 0) { delete obj.sessions.help; } }