We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a80d1d5 commit 4d418b5Copy full SHA for 4d418b5
src/templates/core/node/getRequestBody.hbs
@@ -3,7 +3,7 @@ function getRequestBody(options: ApiRequestOptions): BodyInit | undefined {
3
return getFormData(options.formData) as BodyInit;
4
}
5
if (options.body) {
6
- if (isString(options.body) || isBinary(options.body) || options.body instanceof Stream)) {
+ if (isString(options.body) || isBinary(options.body) || options.body instanceof Stream) {
7
return options.body as BodyInit;
8
} else {
9
return JSON.stringify(options.body);
0 commit comments