diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-09-15 12:17:08 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-09-15 12:17:08 +0200 |
commit | b60e5f38daf77e720a27aa86d3b482c58906a03a (patch) | |
tree | a70909860ab9705d348b3c082f8af440e0a5e4d2 /server/helpers/custom-validators/remote | |
parent | 315cc0cc1871ab2a6d6c1bb61cf7b9f10511c3a9 (diff) | |
download | PeerTube-b60e5f38daf77e720a27aa86d3b482c58906a03a.tar.gz PeerTube-b60e5f38daf77e720a27aa86d3b482c58906a03a.tar.zst PeerTube-b60e5f38daf77e720a27aa86d3b482c58906a03a.zip |
Upgrade express validator to v4
Diffstat (limited to 'server/helpers/custom-validators/remote')
-rw-r--r-- | server/helpers/custom-validators/remote/videos.ts | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/server/helpers/custom-validators/remote/videos.ts b/server/helpers/custom-validators/remote/videos.ts index e5c76f3ca..e261e05a8 100644 --- a/server/helpers/custom-validators/remote/videos.ts +++ b/server/helpers/custom-validators/remote/videos.ts | |||
@@ -102,14 +102,6 @@ export { | |||
102 | isEachRemoteRequestVideosEventsValid | 102 | isEachRemoteRequestVideosEventsValid |
103 | } | 103 | } |
104 | 104 | ||
105 | declare module 'express-validator' { | ||
106 | export interface Validator { | ||
107 | isEachRemoteRequestVideosValid, | ||
108 | isEachRemoteRequestVideosQaduValid, | ||
109 | isEachRemoteRequestVideosEventsValid | ||
110 | } | ||
111 | } | ||
112 | |||
113 | // --------------------------------------------------------------------------- | 105 | // --------------------------------------------------------------------------- |
114 | 106 | ||
115 | function isCommonVideoAttributesValid (video: any) { | 107 | function isCommonVideoAttributesValid (video: any) { |