FIX: cuerpo para borrar payments
This commit is contained in:
@ -118,7 +118,7 @@ class Invoice extends AbstractEndPoint
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
$request_uri = "/payments";
|
$request_uri = "/payments";
|
||||||
$this->sendDelete($request_uri, [204], [404, 422], $query);
|
$this->sendDelete($request_uri, [204], [404, 422], ['payments' => $query]);
|
||||||
} catch (EmptyResponse $exception) {
|
} catch (EmptyResponse $exception) {
|
||||||
$this->logger->warning($exception, ['request_uri' => $request_uri]);
|
$this->logger->warning($exception, ['request_uri' => $request_uri]);
|
||||||
return [];
|
return [];
|
||||||
|
Reference in New Issue
Block a user