Improper unmarshalling
Erog38 opened this issue · 3 comments
Erog38 commented
Line 429 in ab036b7
Use of this field doesn't unmarshal properly and causes the sdk to not allow adding responders to an event.
Erog38 commented
In fact, I think just adding an s
to this line would fix it.
Line 445 in ab036b7
So it should be
Targets []ResponderRequestTargets `json:"responder_request_targets"`
and not
Targets []ResponderRequestTarget `json:"responder_request_targets"`
stmcallister commented
Thanks for pointing this out! Would you mind submitting a PR for the fix?
Erog38 commented
Sure thing @stmcallister ! I opened #233 for review to fix this and a couple other spots. I wasn't sure you watched this repo, I assumed most of this code was generated from the openapi spec or similar.