Fix creating remote tracker URLs on video creation

pull/6302/head
Chocobozzz 2024-03-27 15:26:15 +01:00
parent 11521f231f
commit 3f8454ce63
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 0 deletions

View File

@ -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