From 93eb6671c6cfa2bf107faf37d4461ede7f3524a3 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Mon, 7 Nov 2016 15:04:27 +0100 Subject: Linting fixes. --- src/components/media_upload/media_upload.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/components/media_upload/media_upload.js') diff --git a/src/components/media_upload/media_upload.js b/src/components/media_upload/media_upload.js index c24c71e9..8ae86a8d 100644 --- a/src/components/media_upload/media_upload.js +++ b/src/components/media_upload/media_upload.js @@ -8,9 +8,9 @@ const mediaUpload = { const self = this input.addEventListener('change', ({target}) => { - const file = target.files[0]; - const formData = new FormData(); - formData.append('media', file); + const file = target.files[0] + const formData = new FormData() + formData.append('media', file) statusPosterService.uploadMedia({ store, formData }) .then((fileData) => { self.$emit('uploaded', fileData) -- cgit v1.2.3-70-g09d2