From 1fed78504b67ac31ad8c39272d918af2a0f4071d Mon Sep 17 00:00:00 2001 From: ue Date: Wed, 16 Oct 2019 20:33:37 +0300 Subject: [PATCH] changed postimage to file --- src/providers/esteem/esteem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/esteem/esteem.js b/src/providers/esteem/esteem.js index 299f743ca..ca128b25e 100644 --- a/src/providers/esteem/esteem.js +++ b/src/providers/esteem/esteem.js @@ -314,7 +314,7 @@ export const uploadImage = media => { }; const fData = new FormData(); - fData.append('postimage', file); + fData.append('file', file); return imageApi.post('', fData); };