Skip to content

Commit

Permalink
Merge pull request #1241 from PrestaShopCorp/fix/http-client-getbody-ps6
Browse files Browse the repository at this point in the history
Fix HttpClient getBody PS1.6
  • Loading branch information
Matt75 authored Aug 14, 2024
2 parents b150246 + d0249c4 commit 91f094d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function handle(RefundPayPalCaptureCommand $command)
),
]);

$refund = json_decode($response->getBody()->getContents(), true);
$refund = json_decode($response->getBody(), true);
$this->eventDispatcher->dispatch(
new PayPalCaptureRefundedEvent(
$refund['id'],
Expand Down

0 comments on commit 91f094d

Please sign in to comment.