Set person_id to myId in handleLeaveModTeam (#1929)

This commit is contained in:
Lionir 2023-07-12 22:26:21 -04:00 committed by GitHub
parent 021677316d
commit 9e246beb03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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(),
});