mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
feat: added order by
This commit is contained in:
@@ -388,7 +388,9 @@ export const registerIdentityRouter = async (server: FastifyZodProvider) => {
|
|||||||
searchFilter: req.body.search,
|
searchFilter: req.body.search,
|
||||||
orgId: req.permission.orgId,
|
orgId: req.permission.orgId,
|
||||||
limit: req.body.limit,
|
limit: req.body.limit,
|
||||||
offset: req.body.offset
|
offset: req.body.offset,
|
||||||
|
orderBy: req.body.orderBy,
|
||||||
|
orderDirection: req.body.orderDirection
|
||||||
});
|
});
|
||||||
|
|
||||||
return { identities: identityMemberships, totalCount };
|
return { identities: identityMemberships, totalCount };
|
||||||
|
|||||||
Reference in New Issue
Block a user