X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2Fui-server%2FUIHttpServer.ts;h=223c5bbbff1664dc111b0e62508436c726168673;hb=b03df580733c540eafc26269ee267b675e6b4ae8;hp=7b777b86040c3cba972d886da3df9a11dbab999a;hpb=7cb5b17fac198fe3ecd009ac4c692c0d88dd051e;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/ui-server/UIHttpServer.ts b/src/charging-station/ui-server/UIHttpServer.ts index 7b777b86..223c5bbb 100644 --- a/src/charging-station/ui-server/UIHttpServer.ts +++ b/src/charging-station/ui-server/UIHttpServer.ts @@ -16,7 +16,7 @@ import { import logger from '../../utils/Logger'; import Utils from '../../utils/Utils'; import { AbstractUIServer } from './AbstractUIServer'; -import { UIServiceUtils } from './ui-services/UIServiceUtils'; +import { UIServerUtils } from './UIServerUtils'; const moduleName = 'UIHttpServer'; @@ -90,7 +90,7 @@ export default class UIHttpServer extends AbstractUIServer { this.responseHandlers.set(uuid, res); try { const fullProtocol = `${protocol}${version}`; - if (UIServiceUtils.isProtocolAndVersionSupported(fullProtocol) === false) { + if (UIServerUtils.isProtocolAndVersionSupported(fullProtocol) === false) { throw new BaseError(`Unsupported UI protocol version: '${fullProtocol}'`); } this.registerProtocolVersionUIService(version);