From b88cbf0ba7abac9e124dd5fa479f3095b5d90113 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Thu, 14 May 2020 12:10:25 -0700 Subject: [PATCH] Fixed removeuserfromdevice in MeshCtrl.js --- meshctrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshctrl.js b/meshctrl.js index b7332ce7..97ae503e 100644 --- a/meshctrl.js +++ b/meshctrl.js @@ -686,7 +686,7 @@ function serverConnect() { break; } case 'removeuserfromdevice': { - var op = { action: 'adddeviceuser', nodeid: args.id, usernames: [args.userid], rights: 0, responseid: 'meshctrl' }; + var op = { action: 'adddeviceuser', nodeid: args.id, usernames: [args.userid], rights: 0, remove: true, responseid: 'meshctrl' }; ws.send(JSON.stringify(op)); break; }