From 9e246beb036f021a5475707b8905fd9852343d93 Mon Sep 17 00:00:00 2001 From: Lionir <git@thelion.website> Date: Wed, 12 Jul 2023 22:26:21 -0400 Subject: [PATCH] Set person_id to myId in handleLeaveModTeam (#1929) --- src/shared/components/community/sidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/components/community/sidebar.tsx b/src/shared/components/community/sidebar.tsx index 9f7eff2..ec454de 100644 --- a/src/shared/components/community/sidebar.tsx +++ b/src/shared/components/community/sidebar.tsx @@ -573,7 +573,7 @@ export class Sidebar extends Component<SidebarProps, SidebarState> { i.setState({ leaveModTeamLoading: true }); i.props.onLeaveModTeam({ community_id: i.props.community_view.community.id, - person_id: 92, + person_id: myId, added: false, auth: myAuthRequired(), }); -- 2.44.1