From 489290b8b16bede6ddfb773adad55dee6471ccfd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 21 Mar 2019 16:49:46 +0100 Subject: Restore videos list components --- server/models/video/video-comment.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'server/models/video/video-comment.ts') diff --git a/server/models/video/video-comment.ts b/server/models/video/video-comment.ts index e733138c1..93d84c6fc 100644 --- a/server/models/video/video-comment.ts +++ b/server/models/video/video-comment.ts @@ -1,5 +1,4 @@ import * as Sequelize from 'sequelize' -import { Op } from 'sequelize' import { AllowNull, BeforeDestroy, @@ -458,7 +457,7 @@ export class VideoCommentModel extends Model { const query = { where: { updatedAt: { - [Op.lt]: beforeUpdatedAt + [Sequelize.Op.lt]: beforeUpdatedAt }, videoId } -- cgit v1.2.3