Skip to content

Commit ed3105e

Browse files
authored
Merge pull request #45 from paulkolbovich/auth_fix
Authentication fix, #37
2 parents c55b904 + 2b76b38 commit ed3105e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApiClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ protected function sendRequest($path, $method = 'GET', $data = array(), $useToke
117117
switch ($method) {
118118
case 'POST':
119119
curl_setopt($curl, CURLOPT_POST, count($data));
120-
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($data));
120+
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
121121
break;
122122
case 'PUT':
123123
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'PUT');

0 commit comments

Comments
 (0)