Skip to content

Commit b3046f2

Browse files
author
Nathan Sutton
committed
Fixing a bug where api_key was set as api_version in the http connection options
1 parent 7673c4b commit b3046f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Services/Zencoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function __construct(
121121

122122
$this->version = $api_version;
123123

124-
$http_options = array("api_version" => $api_key, "debug" => $debug, "curlopts" => array(CURLOPT_USERAGENT => self::USER_AGENT));
124+
$http_options = array("api_key" => $api_key, "debug" => $debug, "curlopts" => array(CURLOPT_USERAGENT => self::USER_AGENT));
125125
if (isset($ca_path)) {
126126
$http_options["curlopts"][CURLOPT_CAPATH] = realpath($ca_path);
127127
}

0 commit comments

Comments
 (0)