Small fix in delete mesh

This commit is contained in:
Ylian Saint-Hilaire 2019-07-05 13:46:14 -07:00
parent f0eeb61df1
commit 35102c4296
2 changed files with 2 additions and 1 deletions

View File

@ -1509,6 +1509,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
try {
// Delete a mesh and all computers within it
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; }
// Handle any errors

View File

@ -1,6 +1,6 @@
{
"name": "meshcentral",
"version": "0.3.7-f",
"version": "0.3.7-g",
"keywords": [
"Remote Management",
"Intel AMT",