1
0
Fork 0
mirror of synced 2024-06-26 18:10:51 +12:00
This commit is contained in:
Rory Powell 2022-03-25 16:08:12 +00:00
parent 180e37b9f1
commit ef629c9859
2 changed files with 2 additions and 2 deletions

View file

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

View file

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