From c064e35a0466f70b83c8837a399a4abc9aadedbf Mon Sep 17 00:00:00 2001 From: alxlaxv <35723598+alxlaxv@users.noreply.github.com> Date: Fri, 19 Oct 2018 23:27:09 +0200 Subject: [PATCH] Update Sonarr.php --- app/SupportedApps/Sonarr.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/SupportedApps/Sonarr.php b/app/SupportedApps/Sonarr.php index 6853421a..98cfea30 100644 --- a/app/SupportedApps/Sonarr.php +++ b/app/SupportedApps/Sonarr.php @@ -94,7 +94,6 @@ class Sonarr implements Contracts\Applications, Contracts\Livestats { $url = rtrim($url, '/'); $api_url = $url.'/api/queue?apikey='.$config->apiKey.'&pageSize=1'; $client = new Client(['http_errors' => false, 'timeout' => 15, 'connect_timeout' => 15]); - $queue = $client->request('GET', $api_url)); $res = $client->request('GET', $api_url); echo $res; $queue = sizeof($res);