mirror of https://github.com/Chocobozzz/PeerTube
Fix signup limit
parent
7a0bcd6773
commit
823e411fa6
|
@ -460,7 +460,7 @@ export class UserModel extends Model<Partial<AttributesOnly<UserModel>>> {
|
||||||
}
|
}
|
||||||
|
|
||||||
static countTotal () {
|
static countTotal () {
|
||||||
return this.count()
|
return UserModel.unscoped().count()
|
||||||
}
|
}
|
||||||
|
|
||||||
static listForAdminApi (parameters: {
|
static listForAdminApi (parameters: {
|
||||||
|
|
Loading…
Reference in New Issue