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.
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.
Currently the
->beneficiaries()->find()
call does not correctly apply theonBehalfOf
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!