1
0
Fork 0

Fix signup limit

This commit is contained in:
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

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: {