aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
Diffstat (limited to 'server/models')
-rw-r--r--server/models/account/user.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/models/account/user.ts b/server/models/account/user.ts
index 8e437c3be..11003645c 100644
--- a/server/models/account/user.ts
+++ b/server/models/account/user.ts
@@ -794,12 +794,14 @@ export class UserModel extends Model {
794 const totalDailyActiveUsers = await getActiveUsers(1) 794 const totalDailyActiveUsers = await getActiveUsers(1)
795 const totalWeeklyActiveUsers = await getActiveUsers(7) 795 const totalWeeklyActiveUsers = await getActiveUsers(7)
796 const totalMonthlyActiveUsers = await getActiveUsers(30) 796 const totalMonthlyActiveUsers = await getActiveUsers(30)
797 const totalHalfYearActiveUsers = await getActiveUsers(180)
797 798
798 return { 799 return {
799 totalUsers, 800 totalUsers,
800 totalDailyActiveUsers, 801 totalDailyActiveUsers,
801 totalWeeklyActiveUsers, 802 totalWeeklyActiveUsers,
802 totalMonthlyActiveUsers 803 totalMonthlyActiveUsers,
804 totalHalfYearActiveUsers
803 } 805 }
804 } 806 }
805 807