Skip to content

Commit

Permalink
Set person_id to myId in handleLeaveModTeam (#1929)
Browse files Browse the repository at this point in the history
  • Loading branch information
lionirdeadman committed Jul 13, 2023
1 parent 0216773 commit 9e246be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/components/community/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
});
Expand Down

0 comments on commit 9e246be

Please sign in to comment.