X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmiddlewares%2Fvalidators%2Faccount.ts;h=cbdcef2fd480298ab4f966f8c5bf0413138d77d4;hb=c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e;hp=67e4bf8cca25f3063d3f7a6e614f77025ca76a30;hpb=3e753302d8c911b59971c16a8018df0e1ab78465;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/middlewares/validators/account.ts b/server/middlewares/validators/account.ts index 67e4bf8cc..cbdcef2fd 100644 --- a/server/middlewares/validators/account.ts +++ b/server/middlewares/validators/account.ts @@ -1,5 +1,5 @@ import * as express from 'express' -import { param } from 'express-validator/check' +import { param } from 'express-validator' import { isAccountNameValid } from '../../helpers/custom-validators/accounts' import { logger } from '../../helpers/logger' import { areValidationErrors } from './utils'