mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Server: add createdAt from remote video in database
This commit is contained in:
parent
56ac84d0a3
commit
124648d7fc
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue