From b65eecb97650b9487aa417bbb3b676f5db87e7bf Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Fri, 5 Jul 2019 13:46:14 -0700 Subject: [PATCH] Small fix in delete mesh --- meshuser.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meshuser.js b/meshuser.js index 3457d85e..17a3eae1 100644 --- a/meshuser.js +++ b/meshuser.js @@ -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 diff --git a/package.json b/package.json index a7fb3e95..94d7d350 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.3.7-f", + "version": "0.3.7-g", "keywords": [ "Remote Management", "Intel AMT",