mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
7c467db27e
1 changed files with 10 additions and 3 deletions
|
|
@ -198,9 +198,16 @@ export async function deleteUser(
|
|||
}),
|
||||
client.teamUser.deleteMany({
|
||||
where: {
|
||||
teamId: {
|
||||
in: teamIds,
|
||||
},
|
||||
OR: [
|
||||
{
|
||||
teamId: {
|
||||
in: teamIds,
|
||||
},
|
||||
},
|
||||
{
|
||||
userId,
|
||||
},
|
||||
],
|
||||
},
|
||||
}),
|
||||
client.team.deleteMany({
|
||||
|
|
|
|||
Loading…
Reference in a new issue