Update server dependencies

This commit is contained in:
Chocobozzz 2020-06-17 10:55:40 +02:00
parent 982f2fc9b4
commit faa9d434b4
No known key found for this signature in database
GPG key ID: 583A612D890159BE
25 changed files with 1675 additions and 1473 deletions

View file

@ -55,7 +55,7 @@ async function getActorsInvolvedInVideo (video: MVideoId, t: Transaction) {
const videoAll = video as VideoModel
const videoActor = videoAll.VideoChannel && videoAll.VideoChannel.Account
const videoActor = videoAll.VideoChannel?.Account
? videoAll.VideoChannel.Account.Actor
: await ActorModel.loadFromAccountByVideoId(video.id, t)