mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 00:27:11 +01: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);
|
return unauthorized(res);
|
||||||
}
|
}
|
||||||
|
|
||||||
const { page, query, pageSize } = req.query;
|
const websites = await getTeamWebsites(teamId, req.query);
|
||||||
|
|
||||||
const websites = await getTeamWebsites(teamId, {
|
|
||||||
page,
|
|
||||||
query,
|
|
||||||
pageSize,
|
|
||||||
});
|
|
||||||
|
|
||||||
return ok(res, websites);
|
return ok(res, websites);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue