diff options
Diffstat (limited to 'server/helpers/custom-validators/remote/videos.ts')
-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 | ||