mirror of https://github.com/Chocobozzz/PeerTube
Server: add createdAt from remote video in database
parent
56ac84d0a3
commit
124648d7fc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue