mirror of https://github.com/Chocobozzz/PeerTube
Prevent 500 in AP clietn
parent
e0f49a19ea
commit
8ab98cfb61
|
@ -913,7 +913,7 @@ export class VideoCommentModel extends Model<Partial<AttributesOnly<VideoComment
|
|||
|
||||
if (isVideoOwned) {
|
||||
const videoOwnerAccount = await AccountModel.loadAccountIdFromVideo(videoId)
|
||||
blockerAccountIds.push(videoOwnerAccount.id)
|
||||
if (videoOwnerAccount) blockerAccountIds.push(videoOwnerAccount.id)
|
||||
}
|
||||
|
||||
return blockerAccountIds
|
||||
|
|
Loading…
Reference in New Issue