From c8861d5dc0436ef4342ce517241e3591fa256a13 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 25 Jul 2019 16:23:44 +0200 Subject: Fix express validator --- server/middlewares/validators/user-history.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'server/middlewares/validators/user-history.ts') diff --git a/server/middlewares/validators/user-history.ts b/server/middlewares/validators/user-history.ts index 418313d09..2f1d3cc41 100644 --- a/server/middlewares/validators/user-history.ts +++ b/server/middlewares/validators/user-history.ts @@ -1,6 +1,5 @@ import * as express from 'express' -import 'express-validator' -import { body } from 'express-validator/check' +import { body } from 'express-validator' import { logger } from '../../helpers/logger' import { areValidationErrors } from './utils' import { isDateValid } from '../../helpers/custom-validators/misc' -- cgit v1.2.3