-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
fix: body used already error fix #340 #346
Conversation
lib/httpadapter/fetchadapter.js
Outdated
@@ -42,10 +42,11 @@ class FetchAdapter { | |||
if (fullResponse) { | |||
return res; | |||
} | |||
const rawResponseBody = res.text(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need an await
here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the await
Thanks for the contribution I will publish a new version with that change later this week |
Hey @nchaulet, any chance you could release new version with this fix? |
+1, I don't think a new version was published alongside my fix a few months ago. I've still been using my patch. |
@nchaulet can you please publish a new version with my commit and the one from @kamieniarz ? |
Just published a new version 4.4.0 with your changes |
Fix "body used already for" error message as json and text is called. Should fix #340