Skip to content

Commit 0ad50d9

Browse files
author
Vladimir K Urushev
committed
Fix issue with multipart type
1 parent 13d89f8 commit 0ad50d9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/components/api-request.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,6 @@ export default class ApiRequest extends LitElement {
413413
if (formEl.classList.contains("form-urlencoded")){
414414
fetchOptions.headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=utf-8'
415415
}
416-
else{
417-
fetchOptions.headers['Content-Type'] = 'multipart/form-data; charset=utf-8'
418-
}
419416
}
420417

421418
//Body Params (json/xml/text)

0 commit comments

Comments
 (0)