aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorArne Schauf <git@asw.io>2018-03-03 13:23:12 +0100
committerArne Schauf <git@asw.io>2018-03-03 13:23:12 +0100
commita6267d8bb87de06818eea2a7bc646c8821fb1790 (patch)
treef76e1cf0e66622b0f231c08410e6a5077f986bc1 /src/components
parente9743b14c2fb597487836e8446a3d14281a45eba (diff)
downloadparry-ui-a6267d8bb87de06818eea2a7bc646c8821fb1790.tar.gz
parry-ui-a6267d8bb87de06818eea2a7bc646c8821fb1790.zip
fix voting and show scenario tags
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 91019dd..035aa11 100644
--- a/src/components/UploadVoter.vue
+++ b/src/components/UploadVoter.vue
@@ -40,7 +40,7 @@
methods: {
vote (impact) {
let that = this
- this.$http.put(`/uploads/${this.upload._id}/vote`, {vote: {impact: impact}}).then(response => that.$emit('voted'))
+ this.$http.post(`/uploads/${this.upload._id}/vote`, {vote: {impact: impact}}).then(response => that.$emit('voted'))
},
},
}