refactor: cleanup UI server variable namespace
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 29 May 2023 12:34:53 +0000 (14:34 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 29 May 2023 12:34:53 +0000 (14:34 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ui-server/AbstractUIServer.ts

index 36d00e01b5e9b7190c1e91c07aab0fefa589844f..e689441633b47e0c7a6b52cd4c90fb1de58221be 100644 (file)
@@ -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 {