Skip to content

Commit 40410bf

Browse files
committed
Fixes #22 RestRefundRequest::sendData doesn't set response data as array
1 parent 9163f9b commit 40410bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Message/RestRefundRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function sendData($data)
7272

7373
$this->response = new RestRefundResponse(
7474
$this,
75-
$httpResponse
75+
$httpResponse->json()
7676
);
7777

7878
return $this->response;

0 commit comments

Comments
 (0)