X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Factivitypub%2Fvideos.ts;h=ade93150f39453837dcebde1cc269d7e86497a61;hb=e612209767ebe1deb0af7688c96b7f979bb52b44;hp=2fb1f8d4982f8082257766ab5c198381420295a1;hpb=440d39c52d4efb878b6a2e21584d6b8f52072f27;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/activitypub/videos.ts b/server/lib/activitypub/videos.ts index 2fb1f8d49..ade93150f 100644 --- a/server/lib/activitypub/videos.ts +++ b/server/lib/activitypub/videos.ts @@ -86,7 +86,7 @@ async function federateVideoIfNeeded (videoArg: MVideoAPWithoutCaption, isNewVid video.VideoCaptions = await video.$get('VideoCaptions', { attributes: [ 'language' ], transaction - }) as VideoCaptionModel[] + }) } if (isNewVideo) {