diff --git a/app/SupportedApps/Radarr.php b/app/SupportedApps/Radarr.php index 2c85eaea..826cfd82 100644 --- a/app/SupportedApps/Radarr.php +++ b/app/SupportedApps/Radarr.php @@ -96,7 +96,7 @@ class Radarr implements Contracts\Applications, Contracts\Livestats { $api_url = $url.'/api/queue?apikey='.$config->apiKey.'&pageSize=1'; $client = new Client(['http_errors' => false, 'timeout' => 15, 'connect_timeout' => 15]); $res = $client->request('GET', $api_url); - $queue count($res->getBody()); + $queue = count($res->getBody()); return $queue; } }