]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/videos.ts
Try to fix subscriptions inconsistencies
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / videos.ts
index 2fb1f8d4982f8082257766ab5c198381420295a1..ade93150f39453837dcebde1cc269d7e86497a61 100644 (file)
@@ -86,7 +86,7 @@ async function federateVideoIfNeeded (videoArg: MVideoAPWithoutCaption, isNewVid
       video.VideoCaptions = await video.$get('VideoCaptions', {
         attributes: [ 'language' ],
         transaction
-      }) as VideoCaptionModel[]
+      })
     }
 
     if (isNewVideo) {