mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Server: add licence video attribute
This commit is contained in:
parent
2897488928
commit
6f0c39e2de
14 changed files with 209 additions and 3 deletions
|
@ -86,6 +86,7 @@ function isCommonVideoAttributesValid (video) {
|
|||
return videosValidators.isVideoDateValid(video.createdAt) &&
|
||||
videosValidators.isVideoDateValid(video.updatedAt) &&
|
||||
videosValidators.isVideoCategoryValid(video.category) &&
|
||||
videosValidators.isVideoLicenceValid(video.licence) &&
|
||||
videosValidators.isVideoDescriptionValid(video.description) &&
|
||||
videosValidators.isVideoDurationValid(video.duration) &&
|
||||
videosValidators.isVideoInfoHashValid(video.infoHash) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue