Fix channels creation creation limit count

pull/4897/head
Chocobozzz 2022-03-21 09:27:49 +01:00
parent 43fc899a10
commit 11d70211af
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ export class VideoChannelModel extends Model<Partial<AttributesOnly<VideoChannel
}
}
return VideoChannelModel.count(query)
return VideoChannelModel.unscoped().count(query)
}
static async getStats () {