добавлены параметры устройств пользователя
This commit is contained in:
1 parent
e795fe3daf
commit
7b2c0c2f70
1 file changed
+3
@@ -13,6 +13,9 @@ class CAPI {
|
||||
unset($USER['password']);
|
||||
$result = $USER;
|
||||
$result['devices'] = getUserDevices($USER['id']);
|
||||
foreach($result['devices'] as $key => $value) {
|
||||
$result['devices'][$key]['config'] = CIoT::getBoardConfig($value['id']);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user