From: Jérôme Benoit Date: Mon, 29 May 2023 12:34:53 +0000 (+0200) Subject: refactor: cleanup UI server variable namespace X-Git-Tag: v1.2.15~11 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e64c6fa982ba3270bb015deea30eece32b4661de;p=e-mobility-charging-stations-simulator.git refactor: cleanup UI server variable namespace Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ui-server/AbstractUIServer.ts b/src/charging-station/ui-server/AbstractUIServer.ts index 36d00e01..e6894416 100644 --- a/src/charging-station/ui-server/AbstractUIServer.ts +++ b/src/charging-station/ui-server/AbstractUIServer.ts @@ -52,8 +52,8 @@ export abstract class AbstractUIServer { return this.uiServices.get(protocolVersion)?.requestHandler(request); } - public hasResponseHandler(uuid: string): boolean { - return this.responseHandlers.has(uuid); + public hasResponseHandler(id: string): boolean { + return this.responseHandlers.has(id); } protected startHttpServer(): void {