aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/custom-validators
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-12-08 17:40:54 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-12-08 17:40:54 +0100
commitb1a134ee525bd23d7e359573eca24f133974de84 (patch)
treebb4e4a93958e937c1c1c7b7bf02d58a8a66935f8 /server/helpers/custom-validators
parentf595d3947708114deeed4312cc5ffd285745b090 (diff)
downloadPeerTube-b1a134ee525bd23d7e359573eca24f133974de84.tar.gz
PeerTube-b1a134ee525bd23d7e359573eca24f133974de84.tar.zst
PeerTube-b1a134ee525bd23d7e359573eca24f133974de84.zip
Fix lint
Diffstat (limited to 'server/helpers/custom-validators')
-rw-r--r--server/helpers/custom-validators/videos.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/helpers/custom-validators/videos.ts b/server/helpers/custom-validators/videos.ts
index 4fc460699..37fa8b08a 100644
--- a/server/helpers/custom-validators/videos.ts
+++ b/server/helpers/custom-validators/videos.ts
@@ -9,7 +9,6 @@ import { VIDEO_PRIVACIES } from '../../initializers/constants'
9import { database as db } from '../../initializers/database' 9import { database as db } from '../../initializers/database'
10import { VideoInstance } from '../../models/video/video-interface' 10import { VideoInstance } from '../../models/video/video-interface'
11import { exists, isArray } from './misc' 11import { exists, isArray } from './misc'
12import isInt = require('validator/lib/isInt')
13 12
14const VIDEOS_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEOS 13const VIDEOS_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEOS
15const VIDEO_ABUSES_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEO_ABUSES 14const VIDEO_ABUSES_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEO_ABUSES