aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
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/components
parentc018fd90ee1c3f307fa45c337375df5d9e659735 (diff)
downloadparry-ui-0b40910284d40409c8d70eafea717382ba8461f3.tar.gz
parry-ui-0b40910284d40409c8d70eafea717382ba8461f3.zip
fix a few things
Diffstat (limited to 'src/components')
-rw-r--r--src/components/UploadVoter.vue2
1 files changed, 1 insertions, 1 deletions
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'))
},
},
}