Skip to content
Snippets Groups Projects
Commit f093afe8 authored by Alexandru Munteanu's avatar Alexandru Munteanu
Browse files

change order of form data

parent 81f851df
No related branches found
No related tags found
No related merge requests found
......@@ -41,8 +41,8 @@ const uploadSuccess = () => ({
const createFileData = (file, type) => {
const data = new FormData()
data.append('file', file)
data.append('fileType', type)
data.append('file', file)
return {
method: 'POST',
......
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