mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-23 20:53:15 -05:00
Server fixes for MeshCentral Assistant.
This commit is contained in:
parent
bd96ff6d12
commit
1eb893f3ca
@ -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; }
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user