任意のグループからユーザーを削除すると他のグループからでも削除されちゃうのを修正 (#5459)
This commit is contained in:
		| @@ -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 }); | ||||||
| }); | }); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Satsuki Yanagi
					Satsuki Yanagi