X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmodels%2Fvideo%2Fvideo-comment.ts;h=ff514280936bb50cc39291293e2358f1bfe2c68a;hb=d5b0313c0c6f1cb2ce1510f0317f8fbdef663145;hp=fb9d15e55a389a6e1fd531e183a5924544988805;hpb=cde3d90ded5debb24281a444eabb720b721e5600;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/models/video/video-comment.ts b/server/models/video/video-comment.ts index fb9d15e55..ff5142809 100644 --- a/server/models/video/video-comment.ts +++ b/server/models/video/video-comment.ts @@ -40,7 +40,7 @@ import { import { VideoCommentAbuseModel } from '../abuse/video-comment-abuse' import { AccountModel } from '../account/account' import { ActorModel } from '../actor/actor' -import { buildLocalAccountIdsIn, throwIfNotValid } from '../utils' +import { buildLocalAccountIdsIn, buildSQLAttributes, throwIfNotValid } from '../shared' import { ListVideoCommentsOptions, VideoCommentListQueryBuilder } from './sql/comment/video-comment-list-query-builder' import { VideoModel } from './video' import { VideoChannelModel } from './video-channel' @@ -192,6 +192,18 @@ export class VideoCommentModel extends Model { const query: FindOptions = { where: {