diff options
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/video/video-comment.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/models/video/video-comment.ts b/server/models/video/video-comment.ts index c465eb3e7..90625d987 100644 --- a/server/models/video/video-comment.ts +++ b/server/models/video/video-comment.ts | |||
@@ -444,11 +444,11 @@ export class VideoCommentModel extends Model<VideoCommentModel> { | |||
444 | } | 444 | } |
445 | const accountWhere = accountId | 445 | const accountWhere = accountId |
446 | ? { | 446 | ? { |
447 | [Op.and]: { | 447 | [Op.and]: { |
448 | ...accountExclusion, | 448 | ...accountExclusion, |
449 | [Op.eq]: accountId | 449 | [Op.eq]: accountId |
450 | } | ||
451 | } | 450 | } |
451 | } | ||
452 | : accountExclusion | 452 | : accountExclusion |
453 | 453 | ||
454 | const videoChannelWhere = videoChannelId ? { id: videoChannelId } : undefined | 454 | const videoChannelWhere = videoChannelId ? { id: videoChannelId } : undefined |