Linting fixes.
This commit is contained in:
parent
d65112a625
commit
93eb6671c6
5 changed files with 13 additions and 14 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue