mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Server: add updatedAt attribute to videos
This commit is contained in:
parent
3d118fb501
commit
79066fdf33
6 changed files with 26 additions and 5 deletions
|
@ -28,6 +28,7 @@ function isEachRemoteVideosValid (requests) {
|
|||
isRequestTypeAddValid(request.type) &&
|
||||
isVideoAuthorValid(video.author) &&
|
||||
isVideoDateValid(video.createdAt) &&
|
||||
isVideoDateValid(video.updatedAt) &&
|
||||
isVideoDescriptionValid(video.description) &&
|
||||
isVideoDurationValid(video.duration) &&
|
||||
isVideoInfoHashValid(video.infoHash) &&
|
||||
|
@ -40,6 +41,7 @@ function isEachRemoteVideosValid (requests) {
|
|||
(
|
||||
isRequestTypeUpdateValid(request.type) &&
|
||||
isVideoDateValid(video.createdAt) &&
|
||||
isVideoDateValid(video.updatedAt) &&
|
||||
isVideoDescriptionValid(video.description) &&
|
||||
isVideoDurationValid(video.duration) &&
|
||||
isVideoInfoHashValid(video.infoHash) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue