something

This commit is contained in:
irfan-dahir 2018-08-11 18:58:35 +05:00
parent 4473306f11
commit be1f7968bf

View File

@ -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([