From b60e5f38daf77e720a27aa86d3b482c58906a03a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 15 Sep 2017 12:17:08 +0200 Subject: Upgrade express validator to v4 --- server/helpers/custom-validators/remote/videos.ts | 8 -------- 1 file changed, 8 deletions(-) (limited to 'server/helpers/custom-validators/remote') 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 { isEachRemoteRequestVideosEventsValid } -declare module 'express-validator' { - export interface Validator { - isEachRemoteRequestVideosValid, - isEachRemoteRequestVideosQaduValid, - isEachRemoteRequestVideosEventsValid - } -} - // --------------------------------------------------------------------------- function isCommonVideoAttributesValid (video: any) { -- cgit v1.2.3