4
0
Эх сурвалжийг харах

update sonarr class with local Cert

causefx 8 жил өмнө
parent
commit
47b7f9b3ad

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

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