From 11ddbdc58d61f453af6f57cdad662f2094fd0937 Mon Sep 17 00:00:00 2001 From: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com> Date: Thu, 26 Sep 2019 04:15:34 +0900 Subject: [PATCH] Resolve #5454 (#5458) --- src/server/api/endpoints/users/lists/pull.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/endpoints/users/lists/pull.ts b/src/server/api/endpoints/users/lists/pull.ts index 524670b34..777642301 100644 --- a/src/server/api/endpoints/users/lists/pull.ts +++ b/src/server/api/endpoints/users/lists/pull.ts @@ -65,7 +65,7 @@ export default define(meta, async (ps, me) => { }); // Pull the user - await UserListJoinings.delete({ userId: user.id }); + await UserListJoinings.delete({ userListId: userList.id, userId: user.id }); publishUserListStream(userList.id, 'userRemoved', await Users.pack(user)); });