mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-27 00:13:03 +00:00
任意のグループからユーザーを削除すると他のグループからでも削除されちゃうのを修正 (#5459)
This commit is contained in:
parent
c19670d611
commit
4e8047275b
1 changed files with 1 additions and 1 deletions
|
@ -74,5 +74,5 @@ export default define(meta, async (ps, me) => {
|
|||
}
|
||||
|
||||
// Pull the user
|
||||
await UserGroupJoinings.delete({ userId: user.id });
|
||||
await UserGroupJoinings.delete({ userGroupId: userGroup.id, userId: user.id });
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue