We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9be9b50 + 01997dc commit e3976a2Copy full SHA for e3976a2
src/Jira/Api/Client/CurlClient.php
@@ -117,8 +117,8 @@ public function sendRequest(
117
curl_setopt($curl, CURLOPT_POSTFIELDS, json_encode($data));
118
}
119
120
- elseif ( $method == 'PUT' ) {
121
- curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'PUT');
+ elseif ( $method == 'PUT' || $method == 'DELETE' ) {
+ curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method);
122
123
124
0 commit comments