alxlaxv
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
6 deletions
-
app/SupportedApps/Sonarr.php
|
@ -21,7 +21,7 @@ class Sonarr implements Contracts\Applications, Contracts\Livestats { |
|
|
$status = json_decode($res->getBody()); |
|
|
$status = json_decode($res->getBody()); |
|
|
if(isset($status->version)) |
|
|
if(isset($status->version)) |
|
|
{ |
|
|
{ |
|
|
echo 'Successfully connected to the API'; |
|
|
echo 'Successfully connected to Sonarr API version ' . $status->version; |
|
|
} |
|
|
} |
|
|
else if(isset($status->error)) |
|
|
else if(isset($status->error)) |
|
|
{ |
|
|
{ |
|
|