mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
VKAPI: Fix Users.get
with field=counters
This commit is contained in:
parent
e813549602
commit
4548e2290a
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ final class Users extends VKAPIRequestHandler
|
||||||
case "counters":
|
case "counters":
|
||||||
$response[$i]->counters = (object) [
|
$response[$i]->counters = (object) [
|
||||||
"friends_count" => $usr->getFriendsCount(),
|
"friends_count" => $usr->getFriendsCount(),
|
||||||
"photos_count" => (new Albums)->getUserPhotosCount($usr),
|
"photos_count" => (new Photos)->getUserPhotosCount($usr),
|
||||||
"videos_count" => (new Videos)->getUserVideosCount($usr),
|
"videos_count" => (new Videos)->getUserVideosCount($usr),
|
||||||
"audios_count" => (new Audios)->getUserCollectionSize($usr),
|
"audios_count" => (new Audios)->getUserCollectionSize($usr),
|
||||||
"notes_count" => (new Notes)->getUserNotesCount($usr)
|
"notes_count" => (new Notes)->getUserNotesCount($usr)
|
||||||
|
|
Loading…
Reference in a new issue