Fix signup limit

pull/5551/head
Chocobozzz 2023-01-19 15:23:06 +01:00
parent 7a0bcd6773
commit 823e411fa6
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ export class UserModel extends Model<Partial<AttributesOnly<UserModel>>> {
}
static countTotal () {
return this.count()
return UserModel.unscoped().count()
}
static listForAdminApi (parameters: {