]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/client-html.ts
Optimize watch endpoint
[github/Chocobozzz/PeerTube.git] / server / lib / client-html.ts
index 44bd7abb518b8372ad34269158e070870661e9e2..8841dd2ac2a69f02e88c26eb0caf3760cf49c851 100644 (file)
@@ -41,7 +41,7 @@ export class ClientHtml {
 
     const [ html, video ] = await Promise.all([
       ClientHtml.getIndexHTML(req, res),
-      VideoModel.loadAndPopulateAccountAndServerAndTags(videoId)
+      VideoModel.load(videoId)
     ])
 
     // Let Angular application handle errors