aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/custom-validators/users.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-01-07 14:56:07 +0100
committerChocobozzz <me@florianbigard.com>2020-01-07 15:56:07 +0100
commit7cde3b9c2e84ea20bb0aae4544598483cde9e22c (patch)
tree0860fd5a78127b2cf944b62eb88dc7e1ac3a3ddc /server/helpers/custom-validators/users.ts
parent60815a79219b13da2127ddbbf3bf6ab8853431c5 (diff)
downloadPeerTube-7cde3b9c2e84ea20bb0aae4544598483cde9e22c.tar.gz
PeerTube-7cde3b9c2e84ea20bb0aae4544598483cde9e22c.tar.zst
PeerTube-7cde3b9c2e84ea20bb0aae4544598483cde9e22c.zip
Update validator dependency
Diffstat (limited to 'server/helpers/custom-validators/users.ts')
-rw-r--r--server/helpers/custom-validators/users.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/custom-validators/users.ts b/server/helpers/custom-validators/users.ts
index 008916a04..b4d5751e7 100644
--- a/server/helpers/custom-validators/users.ts
+++ b/server/helpers/custom-validators/users.ts
@@ -1,4 +1,4 @@
1import * as validator from 'validator' 1import validator from 'validator'
2import { UserRole } from '../../../shared' 2import { UserRole } from '../../../shared'
3import { CONSTRAINTS_FIELDS, NSFW_POLICY_TYPES } from '../../initializers/constants' 3import { CONSTRAINTS_FIELDS, NSFW_POLICY_TYPES } from '../../initializers/constants'
4import { exists, isArray, isBooleanValid, isFileValid } from './misc' 4import { exists, isArray, isBooleanValid, isFileValid } from './misc'