Skip to content

Commit

Permalink
Merge pull request #3 from SethSharp/fix-bookmakers-helper-bug
Browse files Browse the repository at this point in the history
Fix bookmakers helper
  • Loading branch information
SethSharp authored Oct 5, 2024
2 parents 4efc602 + 2e4f585 commit 2ff3e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OddsClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function setBookmakers(mixed $bookmakers): self
$bookmakerString = http_build_query($bookmakers, '', ',');
}

$this->params['markets'] = $bookmakerString ?? $bookmakers;
$this->params['bookmakers'] = $bookmakerString ?? $bookmakers;

return $this;
}
Expand Down

0 comments on commit 2ff3e38

Please sign in to comment.