-
Notifications
You must be signed in to change notification settings - Fork 15
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
Getting 'responde finished' state as a callback #5
Comments
I think there is only one page of categories. You may want to try this on the 'people' endpoint. |
You are right, Richard. But is it a reason why "function (err, results)" fired before whole list loading? |
I think there is a problem in your callback. You are returning 'crunchCatsList' as the first argument in the callback (err) rather than the second (results). to this- |
What is the exact output you are getting? |
It's "undefined". You can see it's output here. server.1.js |
As NodeJS and this particular API is async I'm trying to make fetching procedure 'end' state but have no experience enough and can't find a right way. Can you show me the right way to do so with current API?
Hope to hear an advice or best practice from you.
The text was updated successfully, but these errors were encountered: