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 6e854b8 commit abc99efCopy full SHA for abc99ef
templates/base/http-clients/fetch-http-client.ejs
@@ -116,7 +116,12 @@ export class HttpClient<SecurityDataType = unknown> {
116
const propertyContent = property instanceof Array ? property : [property];
117
118
for (const formItem of propertyContent) {
119
- formData.append(key, formItem instanceof Blob || typeof formItem === "string" ? formItem : JSON.stringify(formItem));
+ formData.append(
120
+ key,
121
+ formItem instanceof Blob || typeof formItem === "string"
122
+ ? formItem
123
+ : JSON.stringify(formItem)
124
+ );
125
}
126
return formData;
127
}, new FormData());
0 commit comments