mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 06:37:18 +01:00
Fixed paging. Updated edit props.
This commit is contained in:
parent
d392e500c6
commit
b9825304c3
10 changed files with 32 additions and 46 deletions
|
|
@ -44,7 +44,7 @@ export default async (
|
|||
const teams = await getUserTeams(userId, {
|
||||
query,
|
||||
page,
|
||||
pageSize: +pageSize || undefined,
|
||||
pageSize,
|
||||
});
|
||||
|
||||
return ok(res, teams);
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ export default async (req: NextApiRequestQueryBody, res: NextApiResponse) => {
|
|||
|
||||
const websites = await getUserWebsites(userId, {
|
||||
page,
|
||||
pageSize: +pageSize || undefined,
|
||||
pageSize,
|
||||
query,
|
||||
...rest,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue