From 124648d7fcfc3c9a91fe702cbc40c317429c05bd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sun, 25 Dec 2016 12:06:08 +0100 Subject: [PATCH] Server: add createdAt from remote video in database --- server/controllers/api/remote.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { infoHash: videoToCreateData.infoHash, description: videoToCreateData.description, authorId: author.id, - duration: videoToCreateData.duration + duration: videoToCreateData.duration, + createdAt: videoToCreateData.createdAt } const video = db.Video.build(videoData) -- 2.25.1