From 0b40910284d40409c8d70eafea717382ba8461f3 Mon Sep 17 00:00:00 2001
From: Arne Schauf <git@asw.io>
Date: Sun, 4 Mar 2018 01:48:51 +0100
Subject: fix a few things

---
 src/components/UploadVoter.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/UploadVoter.vue')

diff --git a/src/components/UploadVoter.vue b/src/components/UploadVoter.vue
index 035aa11..65a5453 100644
--- a/src/components/UploadVoter.vue
+++ b/src/components/UploadVoter.vue
@@ -40,7 +40,7 @@
     methods: {
       vote (impact) {
         let that = this
-        this.$http.post(`/uploads/${this.upload._id}/vote`, {vote: {impact: impact}}).then(response => that.$emit('voted'))
+        this.$http.post(`/uploads/${this.upload._id}/vote`, {impact: impact}).then(response => that.$emit('voted'))
       },
     },
   }
-- 
cgit v1.2.3-54-g00ecf

