mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-01 12:29:35 +01:00
Merge branch 'dev' of https://github.com/umami-software/umami into dev
This commit is contained in:
commit
8fc755df99
@ -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…
Reference in New Issue
Block a user