From f847ccb33c7f2b8dd56a280b742b0b3152bf6b34 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 6 Aug 2019 09:26:28 +0200 Subject: [PATCH] Optimize watch endpoint --- server/lib/client-html.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/client-html.ts b/server/lib/client-html.ts index 44bd7abb5..8841dd2ac 100644 --- a/server/lib/client-html.ts +++ b/server/lib/client-html.ts @@ -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 -- 2.41.0