Optimize watch endpoint

This commit is contained in:
Chocobozzz 2019-08-06 09:26:28 +02:00
parent f9f8909298
commit f847ccb33c
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ export class ClientHtml {
const [ html, video ] = await Promise.all([ const [ html, video ] = await Promise.all([
ClientHtml.getIndexHTML(req, res), ClientHtml.getIndexHTML(req, res),
VideoModel.loadAndPopulateAccountAndServerAndTags(videoId) VideoModel.load(videoId)
]) ])
// Let Angular application handle errors // Let Angular application handle errors