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 channelActor = await this.getOrCreateVideoChannelFromVideoObject()
|
||||||
const channel = channelActor.VideoChannel
|
const channel = channelActor.VideoChannel
|
||||||
|
channel.Actor = channelActor
|
||||||
|
|
||||||
const videoData = getVideoAttributesFromObject(channel, this.videoObject, this.videoObject.to)
|
const videoData = getVideoAttributesFromObject(channel, this.videoObject, this.videoObject.to)
|
||||||
const video = VideoModel.build({ ...videoData, likes: 0, dislikes: 0 }) as MVideoThumbnail
|
const video = VideoModel.build({ ...videoData, likes: 0, dislikes: 0 }) as MVideoThumbnail
|
||||||
|
|
Loading…
Reference in New Issue