mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Server: add views attribute when sending videos to friends
This commit is contained in:
parent
1f5bf9ef70
commit
e3d156b341
3 changed files with 8 additions and 4 deletions
|
@ -91,7 +91,8 @@ function isCommonVideoAttributesValid (video) {
|
|||
videosValidators.isVideoNameValid(video.name) &&
|
||||
videosValidators.isVideoTagsValid(video.tags) &&
|
||||
videosValidators.isVideoRemoteIdValid(video.remoteId) &&
|
||||
videosValidators.isVideoExtnameValid(video.extname)
|
||||
videosValidators.isVideoExtnameValid(video.extname) &&
|
||||
videosValidators.isVideoViewsValid(video.views)
|
||||
}
|
||||
|
||||
function isRequestTypeAddValid (value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue