diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-08-25 18:36:49 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-08-25 18:36:49 +0200 |
commit | 556ddc319242aafef51bae9301423ecf8701a3af (patch) | |
tree | 413829b522193584df348f0356a702b3222c3419 /server/helpers/custom-validators/remote | |
parent | d15ab38a905e6b50972e6f884917db9198279daf (diff) | |
download | PeerTube-556ddc319242aafef51bae9301423ecf8701a3af.tar.gz PeerTube-556ddc319242aafef51bae9301423ecf8701a3af.tar.zst PeerTube-556ddc319242aafef51bae9301423ecf8701a3af.zip |
Upgrade common server dependencies
Diffstat (limited to 'server/helpers/custom-validators/remote')
-rw-r--r-- | server/helpers/custom-validators/remote/videos.ts | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/server/helpers/custom-validators/remote/videos.ts b/server/helpers/custom-validators/remote/videos.ts index 091cd2186..49f76e909 100644 --- a/server/helpers/custom-validators/remote/videos.ts +++ b/server/helpers/custom-validators/remote/videos.ts | |||
@@ -101,13 +101,11 @@ export { | |||
101 | isEachRemoteRequestVideosEventsValid | 101 | isEachRemoteRequestVideosEventsValid |
102 | } | 102 | } |
103 | 103 | ||
104 | declare global { | 104 | declare module 'express-validator' { |
105 | namespace ExpressValidator { | 105 | export interface Validator { |
106 | export interface Validator { | 106 | isEachRemoteRequestVideosValid, |
107 | isEachRemoteRequestVideosValid, | 107 | isEachRemoteRequestVideosQaduValid, |
108 | isEachRemoteRequestVideosQaduValid, | 108 | isEachRemoteRequestVideosEventsValid |
109 | isEachRemoteRequestVideosEventsValid | ||
110 | } | ||
111 | } | 109 | } |
112 | } | 110 | } |
113 | 111 | ||