mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-25 02:36:20 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
7c467db27e
@ -198,10 +198,17 @@ export async function deleteUser(
|
|||||||
}),
|
}),
|
||||||
client.teamUser.deleteMany({
|
client.teamUser.deleteMany({
|
||||||
where: {
|
where: {
|
||||||
|
OR: [
|
||||||
|
{
|
||||||
teamId: {
|
teamId: {
|
||||||
in: teamIds,
|
in: teamIds,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
userId,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
client.team.deleteMany({
|
client.team.deleteMany({
|
||||||
where: {
|
where: {
|
||||||
|
Loading…
Reference in New Issue
Block a user