Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b3046f2

Browse filesBrowse 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
Copy full SHA for b3046f2

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎Services/Zencoder.php

Copy file name to clipboardExpand all lines: Services/Zencoder.php
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.