aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/videos/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts
index 45c613c75..1dfd7c7a0 100644
--- a/server/controllers/api/videos/index.ts
+++ b/server/controllers/api/videos/index.ts
@@ -482,6 +482,7 @@ async function getVideoDescription (req: express.Request, res: express.Response)
482 482
483async function getVideoFileMetadata (req: express.Request, res: express.Response) { 483async function getVideoFileMetadata (req: express.Request, res: express.Response) {
484 const videoFile = await VideoFileModel.loadWithMetadata(toInt(req.params.videoFileId)) 484 const videoFile = await VideoFileModel.loadWithMetadata(toInt(req.params.videoFileId))
485
485 return res.json(videoFile.metadata) 486 return res.json(videoFile.metadata)
486} 487}
487 488