mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 16:17:13 +01:00
Merge branch 'dev' of https://github.com/umami-software/umami into dev
This commit is contained in:
commit
8fc755df99
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ export default async (
|
||||||
return unauthorized(res);
|
return unauthorized(res);
|
||||||
}
|
}
|
||||||
|
|
||||||
const { userId, includeOwnedTeams } = req.query;
|
const { userId, includeTeams } = req.query;
|
||||||
|
|
||||||
const websites = await getWebsites(
|
const websites = await getWebsites(
|
||||||
{
|
{
|
||||||
|
|
@ -51,7 +51,7 @@ export default async (
|
||||||
OR: [
|
OR: [
|
||||||
...(userId && [{ userId }]),
|
...(userId && [{ userId }]),
|
||||||
...(userId &&
|
...(userId &&
|
||||||
includeOwnedTeams && [
|
includeTeams && [
|
||||||
{
|
{
|
||||||
team: {
|
team: {
|
||||||
deletedAt: null,
|
deletedAt: null,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue