feat: admin tags (#1452)
This commit is contained in:
1 parent
90fbc62917
commit
5c20f585a4
9 files changed
+311
-2
No files matched your search
@@ -372,6 +372,10 @@ module.exports = {
|
||||
async usersTotal () {
|
||||
const total = await WIKI.models.users.query().count('* as total').first()
|
||||
return _.toSafeInteger(total.total)
|
||||
},
|
||||
async tagsTotal () {
|
||||
const total = await WIKI.models.tags.query().count('* as total').first()
|
||||
return _.toSafeInteger(total.total)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user