ATG: fix start transaction counting (again)
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 5 Sep 2022 10:31:19 +0000 (12:31 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 5 Sep 2022 10:31:19 +0000 (12:31 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/AutomaticTransactionGenerator.ts

index cdef826badef71331f21e68003a47c42841fd536..54b409ed39b7837cc7d988de8719e18512ee4add 100644 (file)
@@ -335,6 +335,7 @@ export default class AutomaticTransactionGenerator {
       StartTransactionRequest,
       StartTransactionResponse
     >(this.chargingStation, RequestCommand.START_TRANSACTION, { connectorId });
+    this.handleStartTransactionResponse(connectorId, startResponse);
     PerformanceStatistics.endMeasure(measureId, beginId);
     return startResponse;
   }