changed postimage to file

This commit is contained in:
ue 2019-10-16 20:33:37 +03:00
parent 5e53760ae2
commit 6fcabd0c98

View File

@ -314,7 +314,7 @@ export const uploadImage = media => {
};
const fData = new FormData();
fData.append('postimage', file);
fData.append('file', file);
return imageApi.post('', fData);
};