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

AsanaClient : Cannot access child value on Newtonsoft.Json.Linq.JValue #103

Open
zeuzere opened this issue Aug 5, 2017 · 5 comments
Open

Comments

@zeuzere
Copy link

zeuzere commented Aug 5, 2017

Error in AsanaClient.cs

This error occure when you did not set a Profile Photo
Ligne 94-96 ... . response["data"]["photo"]["image_36x36"] ....

should be something like :
response["data"]["photo"].HasValue ? response["data"]["photo"]["image_36x36"].Value(): null;

I tested and it work...

If someone can make the modification...
Thanks

@zeuzere zeuzere changed the title AsanaCLient : Cannot access child value on Newtonsoft.Json.Linq.JValue AsanaClient : Cannot access child value on Newtonsoft.Json.Linq.JValue Aug 5, 2017
@niemyjski
Copy link
Collaborator

Can you please submit a pr

@zeuzere
Copy link
Author

zeuzere commented Aug 10, 2017 via email

@zeuzere
Copy link
Author

zeuzere commented Aug 10, 2017 via email

@niemyjski
Copy link
Collaborator

@zeuzere did you have any luck on fixing this issue?

@niemyjski niemyjski added the bug label Oct 6, 2017
@zeuzere
Copy link
Author

zeuzere commented Oct 6, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants