1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Fix CI tests

This commit is contained in:
Chocobozzz 2023-06-06 11:14:13 +02:00
parent 881958d179
commit c37e305342
No known key found for this signature in database
GPG key ID: 583A612D890159BE
41 changed files with 133 additions and 72 deletions

View file

@ -111,7 +111,7 @@ async function addVideoLegacy (req: express.Request, res: express.Response) {
async function addVideoResumable (req: express.Request, res: express.Response) {
const videoPhysicalFile = res.locals.videoFileResumable
const videoInfo = videoPhysicalFile.metadata
const files = { previewfile: videoInfo.previewfile }
const files = { previewfile: videoInfo.previewfile, thumbnailfile: videoInfo.thumbnailfile }
const response = await addVideo({ req, res, videoPhysicalFile, videoInfo, files })
await Redis.Instance.setUploadSession(req.query.upload_id, response)