diff --git a/src/pages/Editor.vue b/src/pages/Editor.vue index c19c003..3302bb5 100644 --- a/src/pages/Editor.vue +++ b/src/pages/Editor.vue @@ -243,7 +243,7 @@ const submitBlog = async () => { const formData = new FormData(); formData.append("title", title); formData.append("content", content); - formData.append("allowComments", allowComments); + formData.append("allow_comments", allowComments); formData.append("draft", true); images.forEach((imgData, index) => {