aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/CommentVoter.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/CommentVoter.vue')
-rw-r--r--src/components/CommentVoter.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/CommentVoter.vue b/src/components/CommentVoter.vue
index 4747571..ccb9e55 100644
--- a/src/components/CommentVoter.vue
+++ b/src/components/CommentVoter.vue
@@ -49,7 +49,7 @@
methods: {
vote (impact) {
let that = this
- this.$http.post(`/uploads/${this.comment.upload}/comments/${this.comment._id}/vote`, {impact: impact}).then(response => that.$emit('voted'))
+ this.$http.post(`/uploads/${this.comment.upload}/comments/${this.comment.id}/vote`, {impact: impact}).then(response => that.$emit('voted'))
},
},
}