mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 13:51:20 +08:00
cleanup ContentType
This commit is contained in:
@ -90,7 +90,7 @@ axios(config)
|
||||
m[i["name"]] = i["value"];
|
||||
}
|
||||
if (requestModel.hasFormData) {
|
||||
m[kHeaderContentType] = 'multipart/form-data';
|
||||
m[kHeaderContentType] = ContentType.formdata.header;
|
||||
}
|
||||
result += templateHeader
|
||||
.render({"headers": padMultilineString(kEncoder.convert(m), 2)});
|
||||
|
Reference in New Issue
Block a user