Fix express validator
This commit is contained in:
parent
b4c19345c1
commit
c8861d5dc0
51 changed files with 93 additions and 101 deletions
|
@ -3,7 +3,7 @@ import { logger } from '../../helpers/logger'
|
|||
import { areValidationErrors } from './utils'
|
||||
import { isHostValid, isValidContactBody } from '../../helpers/custom-validators/servers'
|
||||
import { ServerModel } from '../../models/server/server'
|
||||
import { body } from 'express-validator/check'
|
||||
import { body } from 'express-validator'
|
||||
import { isUserDisplayNameValid } from '../../helpers/custom-validators/users'
|
||||
import { Emailer } from '../../lib/emailer'
|
||||
import { Redis } from '../../lib/redis'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue