From 6c5464f0d11cfa5db056b570280b35c3e198f108 Mon Sep 17 00:00:00 2001 From: Amit Keret Date: Sun, 9 Aug 2020 23:39:53 +1000 Subject: [PATCH] Bugfix: fix url() format extra forward slash following normaliseurl() --- CouchPotato/CouchPotato.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CouchPotato/CouchPotato.php b/CouchPotato/CouchPotato.php index 55bebce91..09f1d4240 100644 --- a/CouchPotato/CouchPotato.php +++ b/CouchPotato/CouchPotato.php @@ -34,7 +34,7 @@ class CouchPotato extends \App\SupportedApps implements \App\EnhancedApps { } public function url($endpoint) { - $api_url = parent::normaliseurl($this->config->url).'/api/'.$this->config->apikey.'/'.$endpoint; + $api_url = parent::normaliseurl($this->config->url).'api/'.$this->config->apikey.'/'.$endpoint; return $api_url; } }