mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
add orderBy
This commit is contained in:
parent
3d6cdddd38
commit
ec11bd7cfe
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…
Add table
Add a link
Reference in a new issue