This commit is contained in:
Evgenii Abramov
2021-03-30 21:46:25 +03:00
parent 147af06b56
commit 85fc352676

View File

@@ -36,7 +36,6 @@ module.exports.devices = [
for (const d of global.devices) {
const {allowedUsers} = d.meta;
console.log(allowedUsers);
if (Array.isArray(allowedUsers) && allowedUsers.indexOf(userId) > -1) {
console.log(d.getInfo());
r.payload.devices.push(d.getInfo());