fix method

This commit is contained in:
rsgrinko committed 2022-01-12 11:31:36 +03:00
1 parent 4de0b199ff
commit e795fe3daf
1 file changed
+3 -1
+3 -1
View File
@@ -11,6 +11,8 @@ class CAPI {
public static function getUserInfo() {
global $USER;
unset($USER['password']);
return $USER;
$result = $USER;
$result['devices'] = getUserDevices($USER['id']);
return $result;
}
}