diff options
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/v1/videos.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/v1/videos.js b/server/controllers/api/v1/videos.js index 83734b35e..d06ec8d08 100644 --- a/server/controllers/api/v1/videos.js +++ b/server/controllers/api/v1/videos.js | |||
@@ -90,7 +90,7 @@ function addVideo (req, res, next) { | |||
90 | function insertIntoDB (callback) { | 90 | function insertIntoDB (callback) { |
91 | const videoData = { | 91 | const videoData = { |
92 | name: videoInfos.name, | 92 | name: videoInfos.name, |
93 | namePath: videoFile.filename, | 93 | filename: videoFile.filename, |
94 | description: videoInfos.description, | 94 | description: videoInfos.description, |
95 | author: res.locals.oauth.token.user.username, | 95 | author: res.locals.oauth.token.user.username, |
96 | duration: videoFile.duration, | 96 | duration: videoFile.duration, |