mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Add video category support
This commit is contained in:
parent
2d7653dc87
commit
6e07c3de88
28 changed files with 324 additions and 30 deletions
|
@ -85,6 +85,7 @@ module.exports = remoteVideosValidators
|
|||
function isCommonVideoAttributesValid (video) {
|
||||
return videosValidators.isVideoDateValid(video.createdAt) &&
|
||||
videosValidators.isVideoDateValid(video.updatedAt) &&
|
||||
videosValidators.isVideoCategoryValid(video.category) &&
|
||||
videosValidators.isVideoDescriptionValid(video.description) &&
|
||||
videosValidators.isVideoDurationValid(video.duration) &&
|
||||
videosValidators.isVideoInfoHashValid(video.infoHash) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue