fix: remove incorrect promise race usage at stopping charging stations
[e-mobility-charging-stations-simulator.git] / src / charging-station / ocpp / OCPPRequestService.ts
index 6e6d0f70db4a6a2554c5707287209c3525972191..880cf078df19b370457fe5c51c3204961bea61eb 100644 (file)
@@ -313,7 +313,7 @@ export abstract class OCPPRequestService {
       // eslint-disable-next-line @typescript-eslint/no-this-alias
       const self = this;
       // Send a message through wsConnection
-      return await new Promise<ResponseType>((resolve, reject) => {
+      return new Promise<ResponseType>((resolve, reject) => {
         /**
          * Function that will receive the request's response
          *