Browse Source

fix old issue with ombi import

CauseFX 4 years ago
parent
commit
bf778cf794
1 changed files with 1 additions and 1 deletions
  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) {