diff options
Diffstat (limited to 'server/models/video')
-rw-r--r-- | server/models/video/video-playlist.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/models/video/video-playlist.ts b/server/models/video/video-playlist.ts index 4ca17ebec..b17fd1060 100644 --- a/server/models/video/video-playlist.ts +++ b/server/models/video/video-playlist.ts | |||
@@ -522,7 +522,9 @@ export class VideoPlaylistModel extends Model<VideoPlaylistModel> { | |||
522 | updatedAt: this.updatedAt, | 522 | updatedAt: this.updatedAt, |
523 | 523 | ||
524 | ownerAccount: this.OwnerAccount.toFormattedSummaryJSON(), | 524 | ownerAccount: this.OwnerAccount.toFormattedSummaryJSON(), |
525 | videoChannel: this.VideoChannel ? this.VideoChannel.toFormattedSummaryJSON() : null | 525 | videoChannel: this.VideoChannel |
526 | ? this.VideoChannel.toFormattedSummaryJSON() | ||
527 | : null | ||
526 | } | 528 | } |
527 | } | 529 | } |
528 | 530 | ||