Skip to content

Conversation

depsimon
Copy link
Contributor

@depsimon depsimon commented Dec 13, 2023

In some cases when using the --unwrap-response-data and the API throw an error, I'd get the following error : TypeError: body used already for.

I noticed that in the fetch HTTP Client, the response was not cloned, preventing the use of the response afterwards.

This PR fixes this issue.

node-fetch/node-fetch#533

Signed-off-by: Sora Morimoto <sora@morimoto.io>
@smorimoto smorimoto merged commit 2f38757 into acacode:main May 9, 2024
@sirflyingv
Copy link

So this is why I get this kind of errors now
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants