aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/CommentVoter.vue
diff options
context:
space:
mode:
authorFulgen301 <tokmajigeorge@gmail.com>2018-09-16 16:59:45 +0200
committerFulgen301 <tokmajigeorge@gmail.com>2018-09-16 16:59:45 +0200
commit08b551201fe72e71fd031a22542439d3e1b70169 (patch)
treef723e4f82804604ed3b32c551062a74fe9914004 /src/components/CommentVoter.vue
parent3262c3f172892309d1c174a8a319441e178c1a7f (diff)
downloadparry-ui-08b551201fe72e71fd031a22542439d3e1b70169.tar.gz
parry-ui-08b551201fe72e71fd031a22542439d3e1b70169.zip
Initial adapt to LegacyClonk
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'))
},
},
}