-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Azure functions apollo returns string, not JSON, should return real JSON #884
Comments
I have the very same problem. This makes |
This pull request can be automatically merged by project collaborators |
Can you please share the code to write azure function, unable to access apollo server using azure function |
This should be fixed with #753. Thanks for raising this originally! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In azureFunctionsApollo.js line 26:
I had to change from
body: gqlResponse,
to
body: JSON.parse(gqlResponse),
Then it worked correctly. Before this fix the problem was that a string was being returned and not real JSON.
Pull request
#885
The text was updated successfully, but these errors were encountered: