mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 09:57:00 +01:00
add orderBy
This commit is contained in:
parent
3d6cdddd38
commit
ec11bd7cfe
@ -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 New Issue
Block a user