Skip to content

Commit

Permalink
Add get games endpoint igdb_id as any required attr
Browse files Browse the repository at this point in the history
Resolves #153
  • Loading branch information
romanzipp committed Dec 2, 2023
1 parent 11313c1 commit 2741498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/Api/GamesTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function getTopGames(array $parameters = [], Paginator $paginator = null)
*/
public function getGames(array $parameters = []): Result
{
$this->validateAnyRequired($parameters, ['id', 'name']);
$this->validateAnyRequired($parameters, ['id', 'name', 'igdb_id']);

return $this->get('games', $parameters);
}
Expand Down

0 comments on commit 2741498

Please sign in to comment.