From 0b40910284d40409c8d70eafea717382ba8461f3 Mon Sep 17 00:00:00 2001 From: Arne Schauf Date: Sun, 4 Mar 2018 01:48:51 +0100 Subject: fix a few things --- src/pages/UploadCreate.vue | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/pages/UploadCreate.vue') 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) => { -- cgit v1.2.3-54-g00ecf