VideoChannel: VideoChannelModel
static load (id: number) {
- return ActorModel.unscoped().findById(id)
+ return ActorModel.unscoped().findByPk(id)
}
static loadAccountActorByVideoId (videoId: number, transaction: Sequelize.Transaction) {
id: this.url,
following: this.getFollowingUrl(),
followers: this.getFollowersUrl(),
+ playlists: this.getPlaylistsUrl(),
inbox: this.inboxUrl,
outbox: this.outboxUrl,
preferredUsername: this.preferredUsername,
return this.url + '/followers'
}
+ getPlaylistsUrl () {
+ return this.url + '/playlists'
+ }
+
getPublicKeyUrl () {
return this.url + '#main-key'
}