aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/UploadCreate.vue
diff options
context:
space:
mode:
authorArne Schauf <git@asw.io>2018-03-04 01:48:51 +0100
committerArne Schauf <git@asw.io>2018-03-04 01:48:51 +0100
commit0b40910284d40409c8d70eafea717382ba8461f3 (patch)
treefc22be0bcd308bbf6e4ab806bd3945920766b4c0 /src/pages/UploadCreate.vue
parentc018fd90ee1c3f307fa45c337375df5d9e659735 (diff)
downloadparry-ui-0b40910284d40409c8d70eafea717382ba8461f3.tar.gz
parry-ui-0b40910284d40409c8d70eafea717382ba8461f3.zip
fix a few things
Diffstat (limited to 'src/pages/UploadCreate.vue')
-rw-r--r--src/pages/UploadCreate.vue10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/pages/UploadCreate.vue b/src/pages/UploadCreate.vue
index 53a6a36..e1d027d 100644
--- a/src/pages/UploadCreate.vue
+++ b/src/pages/UploadCreate.vue
@@ -225,12 +225,10 @@
return
}
let params = {
- upload: {
- title: this.title,
- description: this.description,
- files: this.files.map(el => el._id),
- pic: this.pic,
- },
+ title: this.title,
+ description: this.description,
+ files: this.files.map(el => el._id),
+ pic: this.pic,
}
this.$http.post('/uploads', params)
.then((response) => {