We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96a4c91 commit 2b1e7d5Copy full SHA for 2b1e7d5
src/OddsClient.php
@@ -93,7 +93,7 @@ public function getScoresForSport(SportsEnum $sport): Response
93
*/
94
public function getEventsForSport(SportsEnum $sport): Response
95
{
96
- return $this->get("/sports/{$sport->name}/events");
+ return $this->get("/sports/{$sport->value}/events");
97
}
98
99
/**
0 commit comments