Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading a deal when the person is hidden #55

Open
GreggDeB opened this issue Jul 21, 2020 · 0 comments
Open

Reading a deal when the person is hidden #55

GreggDeB opened this issue Jul 21, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@GreggDeB
Copy link

I found that if I try to read a deal when someone else has set the person_id to a person that is hidden from me, pipedrive only returns the person_id. This will cause the deserialize routine to fail because the format of the return JSON data does not match the structure of deal class. I don't know the best way to fix this but I was able to add an [onerror] property to the deal class so that I could get the data without generating an exception. I would appreciate a suggestion on the best way to address this issue.

@DavidRouyer DavidRouyer added the bug Something isn't working label Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants