]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/components/community-form.tsx
Updating v2 API based on nutomics recommends.
[lemmy-ui.git] / src / shared / components / community-form.tsx
index 18406fc7dc98b00120fc82cbec4daf55488f1dbd..df4b1713c5c6c564f56046d81d007d44d7936e07 100644 (file)
@@ -283,7 +283,7 @@ export class CommunityForm extends Component<
     if (i.props.community_view) {
       let form: EditCommunity = {
         ...i.state.communityForm,
-        edit_id: i.props.community_view.community.id,
+        community_id: i.props.community_view.community.id,
       };
       WebSocketService.Instance.send(wsClient.editCommunity(form));
     } else {