VKAPI: Fix 500 error on Friends.get method

This commit is contained in:
veselcraft 2022-03-27 16:39:21 +03:00
parent dae42b0179
commit 0a78fc2ad0
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E

View file

@ -25,7 +25,7 @@ final class Friends extends VKAPIRequestHandler
$usersApi = new Users($this->getUser());
if (!is_null($fields)) {
$response = $usersApi->get(implode(',', $friends), $fields, 0, $count, true); // FIXME
$response = $usersApi->get(implode(',', $friends), $fields, 0, $count); // FIXME
}
return (object) [