From 256648e6821ac88b5addac832f466b9593bdcfdd Mon Sep 17 00:00:00 2001 From: KodeStar Date: Thu, 8 Feb 2018 22:17:19 +0000 Subject: [PATCH] fixes to sabnzbd app --- app/SupportedApps/Sabnzbd.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/SupportedApps/Sabnzbd.php b/app/SupportedApps/Sabnzbd.php index 6a0b5c73..075078ae 100644 --- a/app/SupportedApps/Sabnzbd.php +++ b/app/SupportedApps/Sabnzbd.php @@ -9,7 +9,7 @@ class Sabnzbd implements Contracts\Applications, Contracts\Livestats { public function defaultColour() { - return '#124019'; + return '#655509'; } public function icon() { @@ -65,7 +65,8 @@ class Sabnzbd implements Contracts\Applications, Contracts\Livestats { $url = $config->url; $apikey = $config->apikey; - $api_url = $url.'sabnzbd/api?output=json&apikey='.$apikey.'&mode='.$endpoint; + $api_url = $url.'api?output=json&apikey='.$apikey.'&mode='.$endpoint; + //die( $api_url.' --- '); $client = new Client(['http_errors' => false]); $res = $client->request('GET', $api_url);