Bind to this more OCPP request sending methods
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 15 Mar 2022 18:35:55 +0000 (19:35 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 15 Mar 2022 18:35:55 +0000 (19:35 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ocpp/OCPPRequestService.ts

index 7b50b62a3de321a1212b99fbf935e6e0fe461128..89766371dc935b63d1ca6925e51cf5ccb349e881 100644 (file)
@@ -34,6 +34,8 @@ export default abstract class OCPPRequestService {
     this.chargingStation = chargingStation;
     this.ocppResponseService = ocppResponseService;
     this.sendMessageHandler.bind(this);
+    this.sendResult.bind(this);
+    this.sendError.bind(this);
   }
 
   public static getInstance<T extends OCPPRequestService>(