Skip to content

Commit a9a9fca

Browse files
committed
parasut prod
1 parent 6799b43 commit a9a9fca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"php": ">=5.5.9",
2121
"ext-curl": "*"
2222
},
23-
"version": "1.0.9",
23+
"version": "1.0.10",
2424
"minimum-stability": "dev"
2525
}

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function request($path, $params = null, $method = 'POST', $fullPath = fal
9595
break;
9696
case 'POST':
9797
curl_setopt($ch, CURLOPT_POST, 1);
98-
curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
98+
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($params));
9999
break;
100100
case 'DELETE':
101101
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE');

0 commit comments

Comments
 (0)