diff options
Diffstat (limited to 'server/helpers/custom-validators')
-rw-r--r-- | server/helpers/custom-validators/videos.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/custom-validators/videos.ts b/server/helpers/custom-validators/videos.ts index e99992236..8b309ae42 100644 --- a/server/helpers/custom-validators/videos.ts +++ b/server/helpers/custom-validators/videos.ts | |||
@@ -17,7 +17,7 @@ import * as magnetUtil from 'magnet-uri' | |||
17 | const VIDEOS_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEOS | 17 | const VIDEOS_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEOS |
18 | 18 | ||
19 | function isVideoFilterValid (filter: VideoFilter) { | 19 | function isVideoFilterValid (filter: VideoFilter) { |
20 | return filter === 'local' || filter === 'all-local' | 20 | return filter === 'local' || filter === 'all-local' || filter === 'all' |
21 | } | 21 | } |
22 | 22 | ||
23 | function isVideoCategoryValid (value: any) { | 23 | function isVideoCategoryValid (value: any) { |