mirror of https://github.com/Chocobozzz/PeerTube
Do not display deleted comments in RSS feed
parent
68b6fd21b1
commit
193272b8a0
|
@ -386,7 +386,9 @@ export class VideoCommentModel extends Model<VideoCommentModel> {
|
||||||
order: [ [ 'createdAt', 'DESC' ] ] as Order,
|
order: [ [ 'createdAt', 'DESC' ] ] as Order,
|
||||||
offset: start,
|
offset: start,
|
||||||
limit: count,
|
limit: count,
|
||||||
where: {},
|
where: {
|
||||||
|
deletedAt: null
|
||||||
|
},
|
||||||
include: [
|
include: [
|
||||||
{
|
{
|
||||||
attributes: [ 'name', 'uuid' ],
|
attributes: [ 'name', 'uuid' ],
|
||||||
|
|
Loading…
Reference in New Issue