diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-30 22:39:08 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-30 22:39:08 +0200 |
commit | a3ee6fa22dee4b68fcde9cd23708b471db446e11 (patch) | |
tree | b05543f6d858c52dd4757123bc605277ede96983 /server/helpers | |
parent | d14b3e37a2c0d647b59259bf2ca059b5817f144c (diff) | |
download | PeerTube-a3ee6fa22dee4b68fcde9cd23708b471db446e11.tar.gz PeerTube-a3ee6fa22dee4b68fcde9cd23708b471db446e11.tar.zst PeerTube-a3ee6fa22dee4b68fcde9cd23708b471db446e11.zip |
Pod model refractoring -> use mongoose api
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/customValidators.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/helpers/customValidators.js b/server/helpers/customValidators.js index 4d6139a3d..b666644c0 100644 --- a/server/helpers/customValidators.js +++ b/server/helpers/customValidators.js | |||
@@ -85,6 +85,7 @@ function isVideoNameValid (value) { | |||
85 | } | 85 | } |
86 | 86 | ||
87 | function isVideoPodUrlValid (value) { | 87 | function isVideoPodUrlValid (value) { |
88 | // TODO: set options (TLD...) | ||
88 | return validator.isURL(value) | 89 | return validator.isURL(value) |
89 | } | 90 | } |
90 | 91 | ||