mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-22 08:46:54 -06:00
Fix creating remote tracker URLs on video creation
This commit is contained in:
parent
11521f231f
commit
3f8454ce63
@ -22,6 +22,7 @@ export class APVideoCreator extends APVideoAbstractBuilder {
|
||||
|
||||
const channelActor = await this.getOrCreateVideoChannelFromVideoObject()
|
||||
const channel = channelActor.VideoChannel
|
||||
channel.Actor = channelActor
|
||||
|
||||
const videoData = getVideoAttributesFromObject(channel, this.videoObject, this.videoObject.to)
|
||||
const video = VideoModel.build({ ...videoData, likes: 0, dislikes: 0 }) as MVideoThumbnail
|
||||
|
Loading…
Reference in New Issue
Block a user