mirror of https://github.com/Chocobozzz/PeerTube
Raw query to get video ids
parent
3f6b6a565d
commit
2b62cccd75
|
@ -221,6 +221,7 @@ type AvailableForListIDsOptions = {
|
||||||
},
|
},
|
||||||
[ ScopeNames.AVAILABLE_FOR_LIST_IDS ]: (options: AvailableForListIDsOptions) => {
|
[ ScopeNames.AVAILABLE_FOR_LIST_IDS ]: (options: AvailableForListIDsOptions) => {
|
||||||
const query: IFindOptions<VideoModel> = {
|
const query: IFindOptions<VideoModel> = {
|
||||||
|
raw: true,
|
||||||
attributes: [ 'id' ],
|
attributes: [ 'id' ],
|
||||||
where: {
|
where: {
|
||||||
id: {
|
id: {
|
||||||
|
|
Loading…
Reference in New Issue