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
Can't return in promise resolve #18
Comments
I got the same problem. Do you have a solution for it already? @flipxfx |
I switched libraries 🙁 |
Thanks for replying @flipxfx . What library did you end up using? I am basically using
The above code worked around my issue. |
I use axios, wreck or apollo-client now. |
I'm trying to create a wrapper for superagent with defaults with an authorization header from a callout like:
But when I try to use it like below, it successfully gets to the
resolve(api)
line but never gets to theconn.get
line.If I do the same just resolving with
superagent
without defaults it works. Not sure what's going on 😢The text was updated successfully, but these errors were encountered: