mirror of https://github.com/Chocobozzz/PeerTube
Fix channels creation creation limit count
parent
43fc899a10
commit
11d70211af
|
@ -419,7 +419,7 @@ export class VideoChannelModel extends Model<Partial<AttributesOnly<VideoChannel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return VideoChannelModel.count(query)
|
return VideoChannelModel.unscoped().count(query)
|
||||||
}
|
}
|
||||||
|
|
||||||
static async getStats () {
|
static async getStats () {
|
||||||
|
|
Loading…
Reference in New Issue