aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/remote.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/controllers/api/remote.js b/server/controllers/api/remote.js
index c7a5658e8..2cf916ff3 100644
--- a/server/controllers/api/remote.js
+++ b/server/controllers/api/remote.js
@@ -135,7 +135,8 @@ function addRemoteVideo (videoToCreateData, fromHost, finalCallback) {
135 infoHash: videoToCreateData.infoHash, 135 infoHash: videoToCreateData.infoHash,
136 description: videoToCreateData.description, 136 description: videoToCreateData.description,
137 authorId: author.id, 137 authorId: author.id,
138 duration: videoToCreateData.duration 138 duration: videoToCreateData.duration,
139 createdAt: videoToCreateData.createdAt
139 } 140 }
140 141
141 const video = db.Video.build(videoData) 142 const video = db.Video.build(videoData)