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.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index fe81fab1a..4516b9c7b 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -1313,7 +1313,7 @@ export class VideoModel extends Model<VideoModel> {
1313 1313
1314 static loadWithFiles (id: number, t?: Sequelize.Transaction, logging?: boolean) { 1314 static loadWithFiles (id: number, t?: Sequelize.Transaction, logging?: boolean) {
1315 return VideoModel.scope([ ScopeNames.WITH_FILES, ScopeNames.WITH_STREAMING_PLAYLISTS ]) 1315 return VideoModel.scope([ ScopeNames.WITH_FILES, ScopeNames.WITH_STREAMING_PLAYLISTS ])
1316 .findById(id, { transaction: t, logging }) 1316 .findByPk(id, { transaction: t, logging })
1317 } 1317 }
1318 1318
1319 static loadByUUIDWithFile (uuid: string) { 1319 static loadByUUIDWithFile (uuid: string) {