mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Server: add createdAt from remote video in database
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user