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
300a0f63e7
commit
719699762c
@ -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…
Reference in New Issue
Block a user