Browse Source

fix getPosts method

main
ghost 5 months ago
parent
commit
99aa68abeb
  1. 10
      src/Client.php

10
src/Client.php

@ -151,6 +151,16 @@ class Client @@ -151,6 +151,16 @@ class Client
public function getPosts(array $userNames, int $limit, array &$errors = []): ?array
{
$data = [];
foreach ($userNames as $userName)
{
$data[] =
[
'username' => $userName
];
}
return $this->_exec(
'/',
'POST',

Loading…
Cancel
Save