mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-02-06 08:19:25 +03:00
Fixed an issue with PUT handler
This commit is contained in:
parent
854711656c
commit
436bf9ab43
@ -64,8 +64,8 @@ class HttpBroker{
|
|||||||
return $this->responseHandler($response);
|
return $this->responseHandler($response);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function putRequest($endpointUrl, $queryString){
|
public function putRequest($endpointUrl, $putData){
|
||||||
$request = $this->mgClient->put($endpointUrl, $queryString);
|
$request = $this->mgClient->put($endpointUrl, array(), $putData);
|
||||||
$response = $request->send();
|
$response = $request->send();
|
||||||
return $this->responseHandler($response);
|
return $this->responseHandler($response);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user