Linting fixes.

This commit is contained in:
Roger Braun 2016-11-07 15:04:27 +01:00
parent d65112a625
commit 93eb6671c6
5 changed files with 13 additions and 14 deletions

View file

@ -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)