aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r--server/models/video/video.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index 08adbced6..e5f8b5fa2 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -1352,10 +1352,10 @@ export class VideoModel extends Model<Partial<AttributesOnly<VideoModel>>> {
1352 return queryBuilder.queryVideo({ url, transaction, type: 'account-blacklist-files' }) 1352 return queryBuilder.queryVideo({ url, transaction, type: 'account-blacklist-files' })
1353 } 1353 }
1354 1354
1355 static loadAndPopulateAccountAndServerAndTags (id: number | string, t?: Transaction, userId?: number): Promise<MVideoFullLight> { 1355 static loadFull (id: number | string, t?: Transaction, userId?: number): Promise<MVideoFullLight> {
1356 const queryBuilder = new VideoModelGetQueryBuilder(VideoModel.sequelize) 1356 const queryBuilder = new VideoModelGetQueryBuilder(VideoModel.sequelize)
1357 1357
1358 return queryBuilder.queryVideo({ id, transaction: t, type: 'full-light', userId }) 1358 return queryBuilder.queryVideo({ id, transaction: t, type: 'full', userId })
1359 } 1359 }
1360 1360
1361 static loadForGetAPI (parameters: { 1361 static loadForGetAPI (parameters: {