diff options
Diffstat (limited to 'server/lib/model-loaders')
-rw-r--r-- | server/lib/model-loaders/video.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/model-loaders/video.ts b/server/lib/model-loaders/video.ts index 0a3c15ad8..cef6a367c 100644 --- a/server/lib/model-loaders/video.ts +++ b/server/lib/model-loaders/video.ts | |||
@@ -35,7 +35,7 @@ function loadVideo ( | |||
35 | ) | 35 | ) |
36 | } | 36 | } |
37 | 37 | ||
38 | if (fetchType === 'all') return VideoModel.loadAndPopulateAccountAndServerAndTags(id, undefined, userId) | 38 | if (fetchType === 'all') return VideoModel.loadFull(id, undefined, userId) |
39 | 39 | ||
40 | if (fetchType === 'only-immutable-attributes') return VideoModel.loadImmutableAttributes(id) | 40 | if (fetchType === 'only-immutable-attributes') return VideoModel.loadImmutableAttributes(id) |
41 | 41 | ||