mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
fix param names for includeTeams
This commit is contained in:
parent
98a0a83ccf
commit
0014e5a649
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ export default async (
|
|||
return unauthorized(res);
|
||||
}
|
||||
|
||||
const { userId, includeOwnedTeams } = req.query;
|
||||
const { userId, includeTeams } = req.query;
|
||||
|
||||
const websites = await getWebsites(
|
||||
{
|
||||
|
|
@ -51,7 +51,7 @@ export default async (
|
|||
OR: [
|
||||
...(userId && [{ userId }]),
|
||||
...(userId &&
|
||||
includeOwnedTeams && [
|
||||
includeTeams && [
|
||||
{
|
||||
team: {
|
||||
deletedAt: null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue