Server: add createdAt from remote video in database
This commit is contained in:
parent
56ac84d0a3
commit
124648d7fc
|
@ -135,7 +135,8 @@ function addRemoteVideo (videoToCreateData, fromHost, finalCallback) {
|
||||||
infoHash: videoToCreateData.infoHash,
|
infoHash: videoToCreateData.infoHash,
|
||||||
description: videoToCreateData.description,
|
description: videoToCreateData.description,
|
||||||
authorId: author.id,
|
authorId: author.id,
|
||||||
duration: videoToCreateData.duration
|
duration: videoToCreateData.duration,
|
||||||
|
createdAt: videoToCreateData.createdAt
|
||||||
}
|
}
|
||||||
|
|
||||||
const video = db.Video.build(videoData)
|
const video = db.Video.build(videoData)
|
||||||
|
|
Loading…
Reference in New Issue