refactor: cleanup UI service method namespace
[e-mobility-charging-stations-simulator.git] / src / charging-station / Bootstrap.ts
index 677843d27c1c479ac4c9e34f98bcd98f38a55a44..802a944525cc4c824e6a282aa048c20ab6a0e9cc 100644 (file)
@@ -129,7 +129,7 @@ export class Bootstrap extends EventEmitter {
 
   public async stop(): Promise<void> {
     if (isMainThread && this.started === true) {
-      await this.uiServer?.sendRequestOnBroadcastChannel(
+      await this.uiServer?.sendInternalRequest(
         this.uiServer.buildProtocolRequest(
           Utils.generateUUID(),
           ProcedureName.STOP_CHARGING_STATION,