mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
only get non-deleted teams
This commit is contained in:
parent
bc73410dba
commit
b885f57f40
1 changed files with 1 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ export async function getUserTeams(userId: string, filters: TeamSearchFilter = {
|
|||
return getTeams(
|
||||
{
|
||||
where: {
|
||||
deletedAt: null,
|
||||
teamUser: {
|
||||
some: { userId },
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue