mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-30 00:52:42 +03:00
changed postimage to file
This commit is contained in:
parent
5e53760ae2
commit
6fcabd0c98
@ -314,7 +314,7 @@ export const uploadImage = media => {
|
||||
};
|
||||
|
||||
const fData = new FormData();
|
||||
fData.append('postimage', file);
|
||||
fData.append('file', file);
|
||||
|
||||
return imageApi.post('', fData);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user