Fix express validator

This commit is contained in:
Chocobozzz 2019-07-25 16:23:44 +02:00
parent b4c19345c1
commit c8861d5dc0
No known key found for this signature in database
GPG key ID: 583A612D890159BE
51 changed files with 93 additions and 101 deletions

View file

@ -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'