You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have the same issue. I'd vote to just fix the type and leave it as a Buffer (or add an option) as we use it to request PNG files and other things that should be processed as a Buffer and not a string.
Hi 👋
I think there's a problem with either the response body parsing or the type definitions.
Expected
Looking at type definitions, the response body is of type
string
when we're usingparser: 'none'
.Experienced
The body is in fact the
Buffer
object initialized in centra.Resolution
I think those type definitions have to be fixed or the buffer has to be consumed to produce a
string
instead.I'll be happy to help with a PR once I got your opinion on that.
The text was updated successfully, but these errors were encountered: