Skip to content

Commit efd1c19

Browse files
committed
fix curl http params
1 parent 0962b43 commit efd1c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QencodeApiClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ private function request($method, $path, array $params = [], $arrays = null)
175175
//echo $params."\n\n";
176176
$curl = curl_init($url);
177177

178-
curl_setopt($curl, CURLOPT_USERPWD, $this->key);
178+
// curl_setopt($curl, CURLOPT_USERPWD, $this->key);
179179
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method);
180180
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
181181
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);

0 commit comments

Comments
 (0)