-import * as express from 'express'
-import { getHostWithPort } from '../helpers/express-utils'
+import express from 'express'
import { HttpStatusCode } from '../../shared/models/http/http-error-codes'
+import { getHostWithPort } from '../helpers/express-utils'
function setBodyHostsPort (req: express.Request, res: express.Response, next: express.NextFunction) {
if (!req.body.hosts) return next()