X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmiddlewares%2Fvalidators%2Fserver.ts;h=10bbefe38866ee95d16be212f8f12197b23a83fe;hb=3318147300b4f998adf728eb0a5a14a4c1829c51;hp=29fdc13d28cc5a49a541308426e6f72e2b92f166;hpb=c0e8b12e7fd554ba4d2ceb0c4900804c6a4c63ea;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/middlewares/validators/server.ts b/server/middlewares/validators/server.ts index 29fdc13d2..10bbefe38 100644 --- a/server/middlewares/validators/server.ts +++ b/server/middlewares/validators/server.ts @@ -1,4 +1,4 @@ -import * as express from 'express' +import express from 'express' import { body } from 'express-validator' import { HttpStatusCode } from '../../../shared/models/http/http-error-codes' import { isHostValid, isValidContactBody } from '../../helpers/custom-validators/servers'