uw-labs/go-onfido

Add parameter to expand reports when retrieving checks

Opened this issue · 1 comments

hsyed commented

The get requests contain a query param to expand the check. When a check has the consider status the reports need to be expanded to make decisions.

The signature of GetCheck will need to be changed it should probably be updated to take a request object. Will you accept a PR for this ?

hsyed commented

I missed GoCheckExpanded. This method loops over the reports and retrieves them in separate calls.