Browse Source

update sonarr class with local Cert

causefx 8 years ago
parent
commit
47b7f9b3ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/vendor/kryptonit3/sonarr/src/Sonarr.php

+ 1 - 1
api/vendor/kryptonit3/sonarr/src/Sonarr.php

@@ -593,7 +593,7 @@ class Sonarr
      */
     protected function _request(array $params)
     {
-        $client = new Client(['verify' => false]);
+        $client = new Client(['verify' => getCert()]);
         $options = [
             'headers' => [
                 'X-Api-Key' => $this->apiKey