1
0
Fork 0
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:
Chocobozzz 2024-06-21 16:05:40 +02:00
parent 985e79f61e
commit 05d84f659d
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 6 additions and 1 deletions

View file

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