Fix creating remote tracker URLs on video creation

This commit is contained in:
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

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