Fixes
This commit is contained in:
parent
0a4b1eb552
commit
7db6075f82
|
@ -150,7 +150,7 @@ exports.getBuildersCount = async () => {
|
|||
const builders = await queryGlobalView(ViewNames.USER_BY_BUILDERS, {
|
||||
include_docs: false,
|
||||
})
|
||||
return builders.total_rows
|
||||
return builders.length
|
||||
}
|
||||
|
||||
exports.saveUser = async (
|
||||
|
|
|
@ -135,7 +135,7 @@ export const fetch = async (ctx: any) => {
|
|||
delete user.password
|
||||
}
|
||||
}
|
||||
ctx.body = users
|
||||
ctx.body = all
|
||||
}
|
||||
|
||||
// called internally by app server user find
|
||||
|
|
Loading…
Reference in New Issue