diff options
Diffstat (limited to 'server/models/video/video-comment.ts')
-rw-r--r-- | server/models/video/video-comment.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video-comment.ts b/server/models/video/video-comment.ts index ab0f05d6e..47e3211a3 100644 --- a/server/models/video/video-comment.ts +++ b/server/models/video/video-comment.ts | |||
@@ -268,7 +268,7 @@ export class VideoCommentModel extends Model<VideoCommentModel> { | |||
268 | const query = { | 268 | const query = { |
269 | offset: start, | 269 | offset: start, |
270 | limit: count, | 270 | limit: count, |
271 | order: [ getSort(sort) ], | 271 | order: getSort(sort), |
272 | where: { | 272 | where: { |
273 | videoId, | 273 | videoId, |
274 | inReplyToCommentId: null | 274 | inReplyToCommentId: null |