Skip to content

Commit 4e4802f

Browse files
authored
Merge pull request #18 from codyworthen/master
(fix): Stories Endpoint
2 parents 71e74c1 + eb2890e commit 4e4802f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Endpoints/Stories.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ public function all(): StoriesData
4040

4141
for ($i = 2; $i <= $pages; $i++) {
4242
$response = $this->client->get('spaces/'.$this->spaceId.'/stories', [
43-
'page' => $i
43+
'page' => $i,
44+
'per_page' => '100' // max allowed by API
4445
]);
4546

4647
$stories = array_merge($stories, $response->getBody()['stories']);

0 commit comments

Comments
 (0)