aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-01-19 15:25:52 +0100
committerChocobozzz <me@florianbigard.com>2023-01-19 15:25:52 +0100
commit4e4c23c5b8d55ab0aa48a7be8c53ec71d1d7e796 (patch)
tree8bae8cafa5480b4bd8dc6d21ceb80af0957aaf92
parenta68ccaead667f1b976e0fb10c8b1087af25547f2 (diff)
parent823e411fa6e2d66258fb7bc9e617a0822190273f (diff)
downloadPeerTube-4e4c23c5b8d55ab0aa48a7be8c53ec71d1d7e796.tar.gz
PeerTube-4e4c23c5b8d55ab0aa48a7be8c53ec71d1d7e796.tar.zst
PeerTube-4e4c23c5b8d55ab0aa48a7be8c53ec71d1d7e796.zip
Merge branch 'release/5.0.0' into develop
-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 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: {