mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Video model: namePath -> filename
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user