Skip to content

Commit

Permalink
fix: query params in search return api
Browse files Browse the repository at this point in the history
  • Loading branch information
nVuln committed Apr 30, 2024
1 parent d844d1a commit 048f4ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Resources/ReturnRefund.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ public function rejectCancellation($cancel_id, $params)
]);
}

public function searchReturns($params = [])
public function searchReturns($query = [], $params = [])
{
return $this->call('POST', 'returns/search', [
RequestOptions::QUERY => $query,
RequestOptions::JSON => $params,
]);
}
Expand Down

0 comments on commit 048f4ca

Please sign in to comment.