mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Merge branch 'dev' of https://github.com/umami-software/umami into dev
This commit is contained in:
commit
f319ce7915
1 changed files with 10 additions and 1 deletions
|
|
@ -169,7 +169,16 @@ export async function getTeamsByUserId(
|
|||
},
|
||||
},
|
||||
_count: {
|
||||
select: { website: true, teamUser: { where: { user: { deletedAt: null } } } },
|
||||
select: {
|
||||
website: {
|
||||
where: { deletedAt: null },
|
||||
},
|
||||
teamUser: {
|
||||
where: {
|
||||
user: { deletedAt: null },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue