diff options
Diffstat (limited to 'server/helpers/custom-validators/videos.js')
-rw-r--r-- | server/helpers/custom-validators/videos.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/custom-validators/videos.js b/server/helpers/custom-validators/videos.js index 39a19cbd7..cffa973f8 100644 --- a/server/helpers/custom-validators/videos.js +++ b/server/helpers/custom-validators/videos.js | |||
@@ -45,7 +45,7 @@ function isEachRemoteVideosValid (requests) { | |||
45 | } | 45 | } |
46 | 46 | ||
47 | function isVideoAuthorValid (value) { | 47 | function isVideoAuthorValid (value) { |
48 | return usersValidators.isUserUsernameValid(usersValidators) | 48 | return usersValidators.isUserUsernameValid(value) |
49 | } | 49 | } |
50 | 50 | ||
51 | function isVideoDateValid (value) { | 51 | function isVideoDateValid (value) { |