mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
fixed issue with /v4/manga/{id}/characters endpoint
This commit is contained in:
parent
3eb1f347cc
commit
bd8efbec93
@ -31,7 +31,7 @@ final class MangaCharactersLookupHandler extends RequestHandlerWithScraperCache
|
|||||||
$id = $requestParams->get("id");
|
$id = $requestParams->get("id");
|
||||||
return $this->scraperService->findList(
|
return $this->scraperService->findList(
|
||||||
$requestFingerPrint,
|
$requestFingerPrint,
|
||||||
fn(MalClient $jikan, ?int $page = null) => $jikan->getMangaCharacters(new MangaCharactersRequest($id))
|
fn(MalClient $jikan, ?int $page = null) => ["characters" => $jikan->getMangaCharacters(new MangaCharactersRequest($id))]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user