Skip to content

Commit

Permalink
Updated endpoint for getting edition
Browse files Browse the repository at this point in the history
  • Loading branch information
Lasse Lehtinen committed Oct 10, 2023
1 parent ad818d4 commit ef40116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Groschen.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public function getProduct()
{
// Get the production from Mockingbird
try {
$response = $this->client->get('/v1/works/' . $this->workId . '/productions/' . $this->productionId);
$response = $this->client->get('/v2/editions/' . $this->productionId);
} catch (ServerException $e) {
throw new Exception('Server exception: ' . $e->getResponse()->getBody());
}
Expand Down

0 comments on commit ef40116

Please sign in to comment.