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:
parent
881958d179
commit
c37e305342
41 changed files with 133 additions and 72 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue