From 4e8047275b7af630f1e2e98a1f77d0f0c28fe625 Mon Sep 17 00:00:00 2001 From: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com> Date: Thu, 26 Sep 2019 04:14:41 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E6=84=8F=E3=81=AE=E3=82=B0=E3=83=AB?= =?UTF-8?q?=E3=83=BC=E3=83=97=E3=81=8B=E3=82=89=E3=83=A6=E3=83=BC=E3=82=B6?= =?UTF-8?q?=E3=83=BC=E3=82=92=E5=89=8A=E9=99=A4=E3=81=99=E3=82=8B=E3=81=A8?= =?UTF-8?q?=E4=BB=96=E3=81=AE=E3=82=B0=E3=83=AB=E3=83=BC=E3=83=97=E3=81=8B?= =?UTF-8?q?=E3=82=89=E3=81=A7=E3=82=82=E5=89=8A=E9=99=A4=E3=81=95=E3=82=8C?= =?UTF-8?q?=E3=81=A1=E3=82=83=E3=81=86=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=20(#5459)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/api/endpoints/users/groups/pull.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/endpoints/users/groups/pull.ts b/src/server/api/endpoints/users/groups/pull.ts index 3943560d7..648cdc3dd 100644 --- a/src/server/api/endpoints/users/groups/pull.ts +++ b/src/server/api/endpoints/users/groups/pull.ts @@ -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 }); });