Browse Source

Update Sonarr.php

pull/271/head
alxlaxv 7 years ago
committed by GitHub
parent
commit
36fc2420b4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/SupportedApps/Sonarr.php

2
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))
{ {

Loading…
Cancel
Save