Video model: namePath -> filename

This commit is contained in:
Chocobozzz
2016-06-28 20:19:41 +02:00
parent 907e9510c2
commit 5189d08aac
2 changed files with 10 additions and 10 deletions

View File

@@ -90,7 +90,7 @@ function addVideo (req, res, next) {
function insertIntoDB (callback) {
const videoData = {
name: videoInfos.name,
namePath: videoFile.filename,
filename: videoFile.filename,
description: videoInfos.description,
author: res.locals.oauth.token.user.username,
duration: videoFile.duration,