diff options
author | Chocobozzz <me@florianbigard.com> | 2023-06-06 11:14:13 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-06-29 10:19:05 +0200 |
commit | c37e305342c8655325f9606aa1f4b29abc471b39 (patch) | |
tree | 7d0529c0895c0522de9e77c8ab4d48e502599d2c /server/controllers/api | |
parent | 881958d17902b1efbb184400d7e5030cfc5b7224 (diff) | |
download | PeerTube-c37e305342c8655325f9606aa1f4b29abc471b39.tar.gz PeerTube-c37e305342c8655325f9606aa1f4b29abc471b39.tar.zst PeerTube-c37e305342c8655325f9606aa1f4b29abc471b39.zip |
Fix CI tests
Diffstat (limited to 'server/controllers/api')
-rw-r--r-- | server/controllers/api/videos/upload.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/videos/upload.ts b/server/controllers/api/videos/upload.ts index 86ab4591e..6c471ff90 100644 --- a/server/controllers/api/videos/upload.ts +++ b/server/controllers/api/videos/upload.ts | |||
@@ -111,7 +111,7 @@ async function addVideoLegacy (req: express.Request, res: express.Response) { | |||
111 | async function addVideoResumable (req: express.Request, res: express.Response) { | 111 | async function addVideoResumable (req: express.Request, res: express.Response) { |
112 | const videoPhysicalFile = res.locals.videoFileResumable | 112 | const videoPhysicalFile = res.locals.videoFileResumable |
113 | const videoInfo = videoPhysicalFile.metadata | 113 | const videoInfo = videoPhysicalFile.metadata |
114 | const files = { previewfile: videoInfo.previewfile } | 114 | const files = { previewfile: videoInfo.previewfile, thumbnailfile: videoInfo.thumbnailfile } |
115 | 115 | ||
116 | const response = await addVideo({ req, res, videoPhysicalFile, videoInfo, files }) | 116 | const response = await addVideo({ req, res, videoPhysicalFile, videoInfo, files }) |
117 | await Redis.Instance.setUploadSession(req.query.upload_id, response) | 117 | await Redis.Instance.setUploadSession(req.query.upload_id, response) |