]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/model-loaders/video.ts
Rename video full loading
[github/Chocobozzz/PeerTube.git] / server / lib / model-loaders / video.ts
index 0a3c15ad83ac326cd60ae0b6abbc243225944046..cef6a367c1c05e960cdeac0db4bd9a7a72facadd 100644 (file)
@@ -35,7 +35,7 @@ function loadVideo (
     )
   }
 
-  if (fetchType === 'all') return VideoModel.loadAndPopulateAccountAndServerAndTags(id, undefined, userId)
+  if (fetchType === 'all') return VideoModel.loadFull(id, undefined, userId)
 
   if (fetchType === 'only-immutable-attributes') return VideoModel.loadImmutableAttributes(id)