diff options
| author | Arne Schauf <git@asw.io> | 2018-03-04 01:48:51 +0100 |
|---|---|---|
| committer | Arne Schauf <git@asw.io> | 2018-03-04 01:48:51 +0100 |
| commit | 0b40910284d40409c8d70eafea717382ba8461f3 (patch) | |
| tree | fc22be0bcd308bbf6e4ab806bd3945920766b4c0 /src/pages/UploadCreate.vue | |
| parent | c018fd90ee1c3f307fa45c337375df5d9e659735 (diff) | |
| download | parry-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.vue | 10 |
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) => { |
