Skip to content

Commit

Permalink
Merge pull request #47 from snappmarket/SP-8464/fix/return_cancel_amo…
Browse files Browse the repository at this point in the history
…unt_to_snappcredit

SP-8464/fix/return cancel amount to snappcredit
  • Loading branch information
iabouzar authored Apr 25, 2023
2 parents 688a40e + 905006e commit 04da184
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Treasury/Communicator.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,8 @@ public function returnCancelAmountToSnappCredit(ReturnCancelAmountToSnappCredit
$uri = 'api/v1/orders/' . $dto->getOrderId() . '/return-cancel-amount-to-snappcredit';

$response = $this->request(static::METHOD_POST, $uri, [
'creator_id' => $dto->getCreatorId()
'creator_id' => $dto->getCreatorId(),
'value' => $dto->getValue()
]);

return $response->getStatusCode() == 200;
Expand Down

0 comments on commit 04da184

Please sign in to comment.