diff options
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/user/user.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/user/user.ts b/server/models/user/user.ts index c5c8a1b30..bfc9b3049 100644 --- a/server/models/user/user.ts +++ b/server/models/user/user.ts | |||
@@ -461,7 +461,7 @@ export class UserModel extends Model<Partial<AttributesOnly<UserModel>>> { | |||
461 | } | 461 | } |
462 | 462 | ||
463 | static countTotal () { | 463 | static countTotal () { |
464 | return this.count() | 464 | return UserModel.unscoped().count() |
465 | } | 465 | } |
466 | 466 | ||
467 | static listForAdminApi (parameters: { | 467 | static listForAdminApi (parameters: { |