mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Fix loading actor involved in video
This commit is contained in:
parent
985e79f61e
commit
05d84f659d
2 changed files with 6 additions and 1 deletions
|
@ -59,7 +59,7 @@ export async function getActorsInvolvedInVideo (video: MVideoId, t: Transaction)
|
|||
? alreadyLoadedActor
|
||||
: await ActorModel.loadAccountActorFollowerUrlByVideoId(video.id, t)
|
||||
|
||||
actors.push(videoActor)
|
||||
if (videoActor) actors.push(videoActor)
|
||||
|
||||
return actors
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue