diff --git a/server/models/video/video-comment.ts b/server/models/video/video-comment.ts index aedd7a3a9..7cdff8c2c 100644 --- a/server/models/video/video-comment.ts +++ b/server/models/video/video-comment.ts @@ -386,7 +386,9 @@ export class VideoCommentModel extends Model { order: [ [ 'createdAt', 'DESC' ] ] as Order, offset: start, limit: count, - where: {}, + where: { + deletedAt: null + }, include: [ { attributes: [ 'name', 'uuid' ],