Skip to content

Commit

Permalink
Merge pull request #72 from bookboon/hotfix/seedParamForFrontpage
Browse files Browse the repository at this point in the history
chore: Introduce new param seed for frontpage
  • Loading branch information
lkm authored Jan 10, 2022
2 parents f04062b + 53c7fca commit 0de8cab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Entity/Frontpage.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ class Frontpage extends Entity
* @throws UsageException
* @throws \Bookboon\Api\Exception\ApiDecodeException
*/
public static function get(Bookboon $bookboon, array $bookTypes = ['professional'], ?int $limit = null) : BookboonResponse
public static function get(Bookboon $bookboon, array $bookTypes = ['professional'], ?int $limit = null, ?int $seed = null) : BookboonResponse
{
$bResponse = $bookboon->rawRequest(
'/v1/frontpage',
['bookType' => implode(',', $bookTypes), 'limit' => $limit],
['bookType' => implode(',', $bookTypes), 'limit' => $limit, 'seed' => $seed],
ClientInterface::HTTP_GET,
true,
Frontpage::class
Expand Down

0 comments on commit 0de8cab

Please sign in to comment.