From 47e45498a77549948200724742213342ed86ea3a Mon Sep 17 00:00:00 2001 From: alxlaxv <35723598+alxlaxv@users.noreply.github.com> Date: Fri, 19 Oct 2018 19:42:50 +0200 Subject: [PATCH] Update Sonarr.php --- app/SupportedApps/Sonarr.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/SupportedApps/Sonarr.php b/app/SupportedApps/Sonarr.php index 3be61acd..b982ae0d 100644 --- a/app/SupportedApps/Sonarr.php +++ b/app/SupportedApps/Sonarr.php @@ -23,9 +23,9 @@ class Sonarr implements Contracts\Applications, Contracts\Livestats { { echo 'Successfully connected to the API'; } - else if(isset($wanted->error)) + else if(isset($status->error)) { - echo 'Error: '. $wanted->error; + echo 'Error: '. $status->error; } else {