fix: remove incorrect promise race usage at stopping charging stations
[e-mobility-charging-stations-simulator.git] / ui / web / src / composables / UIClient.ts
index 841ec3dca8c42510c3ce504c05dbe42c45773adc..89db2302c81e1dec901965efeb4c6444196a5d30 100644 (file)
@@ -145,7 +145,7 @@ export class UIClient {
     data: RequestPayload,
   ): Promise<ResponsePayload> {
     let uuid: string;
-    return await new Promise<ResponsePayload>((resolve, reject) => {
+    return new Promise<ResponsePayload>((resolve, reject) => {
       uuid = crypto.randomUUID();
       const msg = JSON.stringify([uuid, command, data]);