Commit d9a25af8 authored by chieveit's avatar chieveit Committed by ι™ˆεΈ…

remove setting Content-Type when body is FormData

parent bfe13935
...@@ -59,7 +59,6 @@ export default function request(url, options) { ...@@ -59,7 +59,6 @@ export default function request(url, options) {
// newOptions.body is FormData // newOptions.body is FormData
newOptions.headers = { newOptions.headers = {
Accept: 'application/json', Accept: 'application/json',
'Content-Type': 'multipart/form-data',
...newOptions.headers, ...newOptions.headers,
}; };
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment