diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-08 17:40:54 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-08 17:40:54 +0100 |
commit | b1a134ee525bd23d7e359573eca24f133974de84 (patch) | |
tree | bb4e4a93958e937c1c1c7b7bf02d58a8a66935f8 /server/helpers/custom-validators | |
parent | f595d3947708114deeed4312cc5ffd285745b090 (diff) | |
download | PeerTube-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.ts | 1 |
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' | |||
9 | import { database as db } from '../../initializers/database' | 9 | import { database as db } from '../../initializers/database' |
10 | import { VideoInstance } from '../../models/video/video-interface' | 10 | import { VideoInstance } from '../../models/video/video-interface' |
11 | import { exists, isArray } from './misc' | 11 | import { exists, isArray } from './misc' |
12 | import isInt = require('validator/lib/isInt') | ||
13 | 12 | ||
14 | const VIDEOS_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEOS | 13 | const VIDEOS_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEOS |
15 | const VIDEO_ABUSES_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEO_ABUSES | 14 | const VIDEO_ABUSES_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEO_ABUSES |