mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-05 04:28:03 +03:00
changed postimage to file
This commit is contained in:
parent
93d5d5b2e0
commit
1fed78504b
@ -314,7 +314,7 @@ export const uploadImage = media => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const fData = new FormData();
|
const fData = new FormData();
|
||||||
fData.append('postimage', file);
|
fData.append('file', file);
|
||||||
|
|
||||||
return imageApi.post('', fData);
|
return imageApi.post('', fData);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user