Skip to content

use the right method when dealing with promises #14451

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

Merged
merged 1 commit into from
Oct 21, 2020

Conversation

michelv
Copy link
Contributor

@michelv michelv commented Oct 20, 2020

sendRequest() returns a response, not a promise, and we can't use then() on a response

sendRequest() returns a response, not a promise, and we can't use then() on a response
@javiereguiluz
Copy link
Member

Good catch Michel! Congrats on your first Symfony Docs contribution!

@javiereguiluz javiereguiluz merged commit 9d7f109 into symfony:4.4 Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants