mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: add usercount, session count and complete rate
This commit is contained in:
1 parent
add6bfd100
commit
cc95bb195b
7 files changed
+131
-5
No files matched your search
@@ -0,0 +1,6 @@
|
||||
import { User } from '@linux-odyssey/models'
|
||||
|
||||
// eslint-disable-next-line import/prefer-default-export
|
||||
export function userCount() {
|
||||
return User.find().count()
|
||||
}
|
||||
Reference in new issue
Block a user