PR comments.
This commit is contained in:
parent
04a2bbc61a
commit
8c744ea7a9
|
@ -206,10 +206,8 @@ export const search = async (ctx: Ctx<SearchUsersRequest>) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (body.paginate === false) {
|
if (body.paginate === false) {
|
||||||
console.log("not paginated")
|
|
||||||
await getAppUsers(ctx)
|
await getAppUsers(ctx)
|
||||||
} else {
|
} else {
|
||||||
console.log("paginated")
|
|
||||||
const paginated = await userSdk.core.paginatedUsers(body)
|
const paginated = await userSdk.core.paginatedUsers(body)
|
||||||
// user hashed password shouldn't ever be returned
|
// user hashed password shouldn't ever be returned
|
||||||
for (let user of paginated.data) {
|
for (let user of paginated.data) {
|
||||||
|
|
Loading…
Reference in New Issue