diff options
Diffstat (limited to 'server/models/video/video-abuse.ts')
-rw-r--r-- | server/models/video/video-abuse.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video-abuse.ts b/server/models/video/video-abuse.ts index e0cf50b59..40f0ce12b 100644 --- a/server/models/video/video-abuse.ts +++ b/server/models/video/video-abuse.ts | |||
@@ -394,7 +394,7 @@ export class VideoAbuseModel extends Model<VideoAbuseModel> { | |||
394 | name: video.name, | 394 | name: video.name, |
395 | nsfw: video.nsfw, | 395 | nsfw: video.nsfw, |
396 | deleted: !this.Video, | 396 | deleted: !this.Video, |
397 | blacklisted: this.Video && this.Video.isBlacklisted(), | 397 | blacklisted: this.Video?.isBlacklisted() || false, |
398 | thumbnailPath: this.Video?.getMiniatureStaticPath(), | 398 | thumbnailPath: this.Video?.getMiniatureStaticPath(), |
399 | channel: this.Video?.VideoChannel.toFormattedJSON() || this.deletedVideo?.channel | 399 | channel: this.Video?.VideoChannel.toFormattedJSON() || this.deletedVideo?.channel |
400 | }, | 400 | }, |