Skip to content

Commit

Permalink
Fix Edition instantiation for language
Browse files Browse the repository at this point in the history
  • Loading branch information
meezaan committed Sep 25, 2022
1 parent 9e48466 commit dee28a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/Controllers/v1/Edition.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function getByLanguage(ServerRequestInterface $request, ResponseInterface

$result = $this->mc->get(md5('edition_' . $lang), function (ItemInterface $item) use ($lang) {
$item->expiresAfter(604800);
$e = new EditionResponse($this->em,null, null, null, $lang);
$e = new EditionResponse($this->em,null, null, $lang);

return [
$e->get(),
Expand Down

0 comments on commit dee28a6

Please sign in to comment.