mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
add orderBy
This commit is contained in:
parent
300a0f63e7
commit
719699762c
1 changed files with 1 additions and 7 deletions
|
|
@ -43,13 +43,7 @@ export default async (
|
|||
return unauthorized(res);
|
||||
}
|
||||
|
||||
const { page, query, pageSize } = req.query;
|
||||
|
||||
const websites = await getTeamWebsites(teamId, {
|
||||
page,
|
||||
query,
|
||||
pageSize,
|
||||
});
|
||||
const websites = await getTeamWebsites(teamId, req.query);
|
||||
|
||||
return ok(res, websites);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue