Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Raw query to get video ids

Chocobozzz2b62cccd75e9
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index ef8be7c860..23d1dedd68 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -221,6 +221,7 @@ type AvailableForListIDsOptions = {
},
[ ScopeNames.AVAILABLE_FOR_LIST_IDS ]: (options: AvailableForListIDsOptions) => {
const query: IFindOptions<VideoModel> = {
+ raw: true,
attributes: [ 'id' ],
where: {
id: {