mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
something
This commit is contained in:
parent
4473306f11
commit
be1f7968bf
@ -26,10 +26,9 @@ class AnimeController extends Controller
|
||||
public function request(int $id, $request = null, $requestArg = null)
|
||||
{
|
||||
|
||||
$this->guzzle = new GuzzleClient;
|
||||
|
||||
try {
|
||||
$jikan = new Jikan($this->guzzle);
|
||||
$jikan = new Jikan();
|
||||
$response = $jikan->Anime($id);
|
||||
} catch (\Jikan\Exception\ParserException $e) {
|
||||
return response()->json([
|
||||
|
Loading…
x
Reference in New Issue
Block a user