aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-21 15:04:39 +0200
committerChocobozzz <me@florianbigard.com>2020-04-21 15:04:39 +0200
commitc18431505fd1d769554e9f848799284f84c30110 (patch)
tree421e3ffa368566a32e27b9c985425302bf3bcf25 /server/models
parentb029d58a273ddbb1b17271fb8cae61d09a790005 (diff)
downloadPeerTube-c18431505fd1d769554e9f848799284f84c30110.tar.gz
PeerTube-c18431505fd1d769554e9f848799284f84c30110.tar.zst
PeerTube-c18431505fd1d769554e9f848799284f84c30110.zip
Add API doc for playlists
Diffstat (limited to 'server/models')
-rw-r--r--server/models/video/video-playlist.ts4
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