mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-27 06:33:15 -05:00
fix createmesh with email as userid #6596
This commit is contained in:
parent
22fc95926a
commit
a1854fa074
@ -2404,6 +2404,10 @@ function CreateMeshCentralServer(config, args) {
|
||||
storeEvent.links = Object.assign({}, storeEvent.links);
|
||||
for (var i in storeEvent.links) { var ue = obj.common.escapeFieldName(i); if (ue !== i) { storeEvent.links[ue] = storeEvent.links[i]; delete storeEvent.links[i]; } }
|
||||
}
|
||||
if (storeEvent.mesh) {
|
||||
// Escape "mesh" names that may have "." and/or "$"
|
||||
storeEvent.mesh = obj.common.escapeLinksFieldNameEx(storeEvent.mesh);
|
||||
}
|
||||
storeEvent.ids = ids;
|
||||
obj.db.StoreEvent(storeEvent);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user