mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-12 15:33:20 -05:00
Small fix in delete mesh
This commit is contained in:
parent
caa2df0191
commit
b65eecb976
@ -1509,6 +1509,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
|
|||||||
try {
|
try {
|
||||||
// Delete a mesh and all computers within it
|
// Delete a mesh and all computers within it
|
||||||
if (common.validateString(command.meshid, 1, 1024) == false) { err = 'Invalid group identifier'; } // Check the meshid
|
if (common.validateString(command.meshid, 1, 1024) == false) { err = 'Invalid group identifier'; } // Check the meshid
|
||||||
|
else if (command.meshid.indexOf('/') == -1) { command.meshid = 'mesh/' + domain.id + '/' + command.meshid; }
|
||||||
} catch (ex) { err = 'Validation exception: ' + ex; }
|
} catch (ex) { err = 'Validation exception: ' + ex; }
|
||||||
|
|
||||||
// Handle any errors
|
// Handle any errors
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "meshcentral",
|
"name": "meshcentral",
|
||||||
"version": "0.3.7-f",
|
"version": "0.3.7-g",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Remote Management",
|
"Remote Management",
|
||||||
"Intel AMT",
|
"Intel AMT",
|
||||||
|
Loading…
Reference in New Issue
Block a user