Skip to content

Commit

Permalink
Merge pull request #464 from jikan-me/hotfix/manga_characters_endpoint1
Browse files Browse the repository at this point in the history
🚑 Fixed issue with /v4/manga/{id}/characters endpoint
  • Loading branch information
irfan-dahir authored Dec 20, 2023
2 parents b8e8ba9 + f973551 commit bb71a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Features/MangaCharactersLookupHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected function getScraperData(string $requestFingerPrint, Collection $reques
$id = $requestParams->get("id");
return $this->scraperService->findList(
$requestFingerPrint,
fn(MalClient $jikan, ?int $page = null) => $jikan->getMangaCharacters(new MangaCharactersRequest($id))
fn(MalClient $jikan, ?int $page = null) => ["characters" => $jikan->getMangaCharacters(new MangaCharactersRequest($id))]
);
}
}

0 comments on commit bb71a7a

Please sign in to comment.