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

View file

@ -573,7 +573,7 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
i.setState({ leaveModTeamLoading: true }); i.setState({ leaveModTeamLoading: true });
i.props.onLeaveModTeam({ i.props.onLeaveModTeam({
community_id: i.props.community_view.community.id, community_id: i.props.community_view.community.id,
person_id: 92, person_id: myId,
added: false, added: false,
auth: myAuthRequired(), auth: myAuthRequired(),
}); });