]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/video/video.ts
Raw query to get video ids
[github/Chocobozzz/PeerTube.git] / server / models / video / video.ts
index ef8be7c860b355e95f48a3cc2200b29fd89ee04b..23d1dedd686b07f02ee22597d4764e30af5a3359 100644 (file)
@@ -221,6 +221,7 @@ type AvailableForListIDsOptions = {
   },
   [ ScopeNames.AVAILABLE_FOR_LIST_IDS ]: (options: AvailableForListIDsOptions) => {
     const query: IFindOptions<VideoModel> = {
+      raw: true,
       attributes: [ 'id' ],
       where: {
         id: {