diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/UploadVoter.vue | 2 |
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')) }, }, } |
