mirror of
https://github.com/lasthead0/yandex2mqtt.git
synced 2025-08-09 01:21:01 +03:00
fix default 'allowedUsers' option
This commit is contained in:
@@ -43,7 +43,7 @@ class Device {
|
|||||||
properties: (options.properties || []).map(p => Object.assign({}, p, {state: (p.state == undefined) ? this.initState(p) : p.state})),
|
properties: (options.properties || []).map(p => Object.assign({}, p, {state: (p.state == undefined) ? this.initState(p) : p.state})),
|
||||||
};
|
};
|
||||||
this.meta = {
|
this.meta = {
|
||||||
allowedUsers: options.allowedUsers || [1],
|
allowedUsers: options.allowedUsers || ['1'],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user