mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 23:57:12 +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(
|
return getTeams(
|
||||||
{
|
{
|
||||||
where: {
|
where: {
|
||||||
|
deletedAt: null,
|
||||||
teamUser: {
|
teamUser: {
|
||||||
some: { userId },
|
some: { userId },
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue