diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/models/video/video-comment.ts | 4 |
1 files changed, 3 insertions, 1 deletions
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<VideoCommentModel> { | |||
386 | order: [ [ 'createdAt', 'DESC' ] ] as Order, | 386 | order: [ [ 'createdAt', 'DESC' ] ] as Order, |
387 | offset: start, | 387 | offset: start, |
388 | limit: count, | 388 | limit: count, |
389 | where: {}, | 389 | where: { |
390 | deletedAt: null | ||
391 | }, | ||
390 | include: [ | 392 | include: [ |
391 | { | 393 | { |
392 | attributes: [ 'name', 'uuid' ], | 394 | attributes: [ 'name', 'uuid' ], |