1
0
Fork 0
mirror of synced 2024-06-28 11:00:55 +12:00

PR comments.

This commit is contained in:
mike12345567 2023-10-20 15:57:45 +01:00
parent 04a2bbc61a
commit 8c744ea7a9

View file

@ -206,10 +206,8 @@ export const search = async (ctx: Ctx<SearchUsersRequest>) => {
}
if (body.paginate === false) {
console.log("not paginated")
await getAppUsers(ctx)
} else {
console.log("paginated")
const paginated = await userSdk.core.paginatedUsers(body)
// user hashed password shouldn't ever be returned
for (let user of paginated.data) {