Raw query to get video ids

pull/1074/head
Chocobozzz 2018-09-14 11:09:34 +02:00
parent 3f6b6a565d
commit 2b62cccd75
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 0 deletions

View File

@ -221,6 +221,7 @@ type AvailableForListIDsOptions = {
},
[ ScopeNames.AVAILABLE_FOR_LIST_IDS ]: (options: AvailableForListIDsOptions) => {
const query: IFindOptions<VideoModel> = {
raw: true,
attributes: [ 'id' ],
where: {
id: {