mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Return team websites under dashboard.
This commit is contained in:
parent
f4aa8f9661
commit
a84d9a4c7c
6 changed files with 86 additions and 30 deletions
|
|
@ -24,7 +24,9 @@ export default async (
|
|||
return unauthorized(res);
|
||||
}
|
||||
|
||||
const websites = await getUserWebsites(userId);
|
||||
const { includeTeams } = req.query;
|
||||
|
||||
const websites = await getUserWebsites(userId, { includeTeams });
|
||||
|
||||
return ok(res, websites);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue