aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/custom-validators/remote
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-08-25 18:36:49 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-08-25 18:36:49 +0200
commit556ddc319242aafef51bae9301423ecf8701a3af (patch)
tree413829b522193584df348f0356a702b3222c3419 /server/helpers/custom-validators/remote
parentd15ab38a905e6b50972e6f884917db9198279daf (diff)
downloadPeerTube-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.ts12
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
104declare global { 104declare 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