diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-26 08:37:26 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-07 08:28:14 +0200 |
commit | 583eb04b541175035d6d452ca626a96ebf2b7437 (patch) | |
tree | 114ba0a7004b4b2a7fc77444ef5fcb73414c6e93 /server/controllers/api/videos/index.ts | |
parent | 4504f09f6e85f09b0489debb547a17209d7176ea (diff) | |
download | PeerTube-583eb04b541175035d6d452ca626a96ebf2b7437.tar.gz PeerTube-583eb04b541175035d6d452ca626a96ebf2b7437.tar.zst PeerTube-583eb04b541175035d6d452ca626a96ebf2b7437.zip |
Upgrade to angular 10
Diffstat (limited to 'server/controllers/api/videos/index.ts')
-rw-r--r-- | server/controllers/api/videos/index.ts | 1 |
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 | ||
483 | async function getVideoFileMetadata (req: express.Request, res: express.Response) { | 483 | async 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 | ||