aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/models/video/video-comment.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video-comment.ts b/server/models/video/video-comment.ts
index 1d3178164..6c5a764bf 100644
--- a/server/models/video/video-comment.ts
+++ b/server/models/video/video-comment.ts
@@ -913,7 +913,7 @@ export class VideoCommentModel extends Model<Partial<AttributesOnly<VideoComment
913 913
914 if (isVideoOwned) { 914 if (isVideoOwned) {
915 const videoOwnerAccount = await AccountModel.loadAccountIdFromVideo(videoId) 915 const videoOwnerAccount = await AccountModel.loadAccountIdFromVideo(videoId)
916 blockerAccountIds.push(videoOwnerAccount.id) 916 if (videoOwnerAccount) blockerAccountIds.push(videoOwnerAccount.id)
917 } 917 }
918 918
919 return blockerAccountIds 919 return blockerAccountIds