From acf78097e90e64a3f696ff2d08c41d2baff54f06 Mon Sep 17 00:00:00 2001 From: Evgenii Abramov Date: Sun, 23 May 2021 18:27:49 +0300 Subject: [PATCH] fix default 'allowedUsers' option --- device.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device.js b/device.js index b3e6fc2..12c71e3 100644 --- a/device.js +++ b/device.js @@ -43,7 +43,7 @@ class Device { properties: (options.properties || []).map(p => Object.assign({}, p, {state: (p.state == undefined) ? this.initState(p) : p.state})), }; this.meta = { - allowedUsers: options.allowedUsers || [1], + allowedUsers: options.allowedUsers || ['1'], }; }