We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 224c95b commit dfb8a6cCopy full SHA for dfb8a6c
src/components/problem/edit.vue
@@ -43,8 +43,7 @@ export default {
43
submit() {
44
this.buttonLoading = true;
45
this.$axios
46
- .patch(apiurl('/problem/content'), {
47
- pid: Number(this.$route.params.id),
+ .patch(apiurl('/problem/' + this.$route.params.id), {
48
title: this.title,
49
description: this.mdContent
50
})
0 commit comments