diff options
Diffstat (limited to 'server/helpers/custom-validators/users.ts')
-rw-r--r-- | server/helpers/custom-validators/users.ts | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/server/helpers/custom-validators/users.ts b/server/helpers/custom-validators/users.ts index 805437efa..c180eccda 100644 --- a/server/helpers/custom-validators/users.ts +++ b/server/helpers/custom-validators/users.ts | |||
@@ -39,13 +39,3 @@ export { | |||
39 | isUserUsernameValid, | 39 | isUserUsernameValid, |
40 | isUserDisplayNSFWValid | 40 | isUserDisplayNSFWValid |
41 | } | 41 | } |
42 | |||
43 | declare module 'express-validator' { | ||
44 | export interface Validator { | ||
45 | isUserPasswordValid, | ||
46 | isUserRoleValid, | ||
47 | isUserUsernameValid, | ||
48 | isUserDisplayNSFWValid, | ||
49 | isUserVideoQuotaValid | ||
50 | } | ||
51 | } | ||