aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/validators/account.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-17 15:52:26 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:52 +0100
commit79d5caf994edd87ad721994490f10677be277497 (patch)
tree0db45893d8b78e34ce3d59849d0a331977a63d4b /server/middlewares/validators/account.ts
parent572f8d3dba44ba874f5c51023214273e3f5b643c (diff)
downloadPeerTube-79d5caf994edd87ad721994490f10677be277497.tar.gz
PeerTube-79d5caf994edd87ad721994490f10677be277497.tar.zst
PeerTube-79d5caf994edd87ad721994490f10677be277497.zip
Fix lint
Diffstat (limited to 'server/middlewares/validators/account.ts')
-rw-r--r--server/middlewares/validators/account.ts9
1 files changed, 1 insertions, 8 deletions
diff --git a/server/middlewares/validators/account.ts b/server/middlewares/validators/account.ts
index 58eeed3cc..07ae76b63 100644
--- a/server/middlewares/validators/account.ts
+++ b/server/middlewares/validators/account.ts
@@ -1,13 +1,6 @@
1import * as express from 'express' 1import * as express from 'express'
2import { param } from 'express-validator/check' 2import { param } from 'express-validator/check'
3import { 3import { logger } from '../../helpers'
4 isUserDisplayNSFWValid,
5 isUserPasswordValid,
6 isUserRoleValid,
7 isUserUsernameValid,
8 isUserVideoQuotaValid,
9 logger
10} from '../../helpers'
11import { isAccountNameValid } from '../../helpers/custom-validators/accounts' 4import { isAccountNameValid } from '../../helpers/custom-validators/accounts'
12import { database as db } from '../../initializers/database' 5import { database as db } from '../../initializers/database'
13import { AccountInstance } from '../../models' 6import { AccountInstance } from '../../models'