CurrencyCloud / currencycloud-php

MIT License
15 stars 38 forks source link

Fix missing on_behalf_of in find beneficiaries #161

Closed CNimmo16 closed 1 month ago

CNimmo16 commented 5 months ago

Currently the ->beneficiaries()->find() call does not correctly apply the onBehalfOf argument to the HTTP request. This PR fixes this bug while maintaining all other existing behaviour.

This bug was previously addressed in another PR which is still open and looks like was never reviewed https://github.com/CurrencyCloud/currencycloud-php/pull/116.

However the other PR now requires rebasing, and the member of our team who raised it no longer works at our company, therefore raising this one in favour of it. This also makes fewer, more targeted changes so hopefully easier to review.

Thank you!