aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
Diffstat (limited to 'server/models')
-rw-r--r--server/models/user/user.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/user/user.ts b/server/models/user/user.ts
index 672728a2a..3fd808edc 100644
--- a/server/models/user/user.ts
+++ b/server/models/user/user.ts
@@ -460,7 +460,7 @@ export class UserModel extends Model<Partial<AttributesOnly<UserModel>>> {
460 } 460 }
461 461
462 static countTotal () { 462 static countTotal () {
463 return this.count() 463 return UserModel.unscoped().count()
464 } 464 }
465 465
466 static listForAdminApi (parameters: { 466 static listForAdminApi (parameters: {