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 10b6c000f..564ccd3f8 100644
--- a/server/controllers/api/videos/index.ts
+++ b/server/controllers/api/videos/index.ts
@@ -199,6 +199,7 @@ async function addVideo (req: express.Request, res: express.Response, videoPhysi
199 await renamePromise(videoPhysicalFile.path, destination) 199 await renamePromise(videoPhysicalFile.path, destination)
200 // This is important in case if there is another attempt in the retry process 200 // This is important in case if there is another attempt in the retry process
201 videoPhysicalFile.filename = video.getVideoFilename(videoFile) 201 videoPhysicalFile.filename = video.getVideoFilename(videoFile)
202 videoPhysicalFile.path = destination
202 203
203 // Process thumbnail or create it from the video 204 // Process thumbnail or create it from the video
204 const thumbnailField = req.files['thumbnailfile'] 205 const thumbnailField = req.files['thumbnailfile']