Skip to content

Commit 57f1adc

Browse files
authored
Fix #671
1 parent c166ca8 commit 57f1adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/base/http-clients/axios-http-client.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export class HttpClient<SecurityDataType = unknown> {
127127
...requestParams,
128128
headers: {
129129
...(requestParams.headers || {}),
130-
...(type && type !== ContentType.FormData ? { "Content-Type": type } : {}),
130+
...(type ? { "Content-Type": type } : {}),
131131
},
132132
params: query,
133133
responseType: responseFormat,

0 commit comments

Comments
 (0)