]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/page-comments.ts
Comments: Added back-end content reference handling
[bookstack] / resources / js / components / page-comments.ts
index a19d2c7d4b128d4deeae63cd36bffaa2e6c89c40..45f8d6a9f6d192494560386899ac1066e366002c 100644 (file)
@@ -95,7 +95,7 @@ export class PageComments extends Component {
         const reqData = {
             html: this.wysiwygEditor.getContent(),
             parent_id: this.parentId || null,
-            content_reference: this.contentReference || '',
+            content_ref: this.contentReference || '',
         };
 
         window.$http.post(`/comment/${this.pageId}`, reqData).then(resp => {