Sfoglia il codice sorgente

fix old issue with ombi import

CauseFX 4 anni fa
parent
commit
bf778cf794
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      api/functions/homepage-connect-functions.php

+ 1 - 1
api/functions/homepage-connect-functions.php

@@ -59,7 +59,7 @@ trait HomepageConnectFunctions
 				$headers = array(
 					"Accept" => "application/json",
 					"Content-Type" => "application/json",
-					"Apikey" => $GLOBALS['ombiToken']
+					"Apikey" => $this->config['ombiToken']
 				);
 				$options = ($this->localURL($url)) ? array('verify' => false) : array();
 				switch ($type) {