]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/video.ts
Fix AP audience
[github/Chocobozzz/PeerTube.git] / server / helpers / video.ts
index c2e15a705582001a076c5b10318dc3da478b7c44..f5f645d3eac1997614c177f00c5a64c215f38ef0 100644 (file)
@@ -4,7 +4,7 @@ import { isStreamingPlaylist, MStreamingPlaylistVideo, MVideo } from '@server/ty
 import { VideoPrivacy, VideoState } from '@shared/models'
 
 function getVideoWithAttributes (res: Response) {
-  return res.locals.videoAPI || res.locals.videoAll || res.locals.onlyVideo || res.locals.onlyVideoWithRights
+  return res.locals.videoAPI || res.locals.videoAll || res.locals.onlyVideo
 }
 
 function extractVideo (videoOrPlaylist: MVideo | MStreamingPlaylistVideo) {