@ -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