]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/components/comment-form.tsx
Updating v2 API based on nutomics recommends.
[lemmy-ui.git] / src / shared / components / comment-form.tsx
index 3e81d77525a66c023ce1752140cd26638b03e6d5..23febc7b6b23960fec11974630a3e2cbd276eafd 100644 (file)
@@ -109,7 +109,7 @@ export class CommentForm extends Component<CommentFormProps, CommentFormState> {
       let form: EditComment = {
         content,
         form_id: this.state.formId,
-        edit_id: node.comment_view.comment.id,
+        comment_id: node.comment_view.comment.id,
         auth: authField(),
       };
       WebSocketService.Instance.send(wsClient.editComment(form));