1
0
Fork 0

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

View 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