1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-31 15:21:46 +09:00

任意のグループからユーザーを削除すると他のグループからでも削除されちゃうのを修正 (#5459)

This commit is contained in:
Satsuki Yanagi 2019-09-26 04:14:41 +09:00 committed by syuilo
parent c19670d611
commit 4e8047275b

View File

@ -74,5 +74,5 @@ export default define(meta, async (ps, me) => {
} }
// Pull the user // Pull the user
await UserGroupJoinings.delete({ userId: user.id }); await UserGroupJoinings.delete({ userGroupId: userGroup.id, userId: user.id });
}); });