pull/2044/merge
Abhilaksh Bansal 2023-05-17 10:14:40 +00:00 committed by GitHub
commit 57a4429727
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 3 deletions

View File

@ -197,10 +197,17 @@ export async function deleteUser(
}),
client.teamUser.deleteMany({
where: {
OR: [
{
teamId: {
in: teamIds,
},
},
{
userId,
},
],
},
}),
client.team.deleteMany({
where: {