Fix circular array initialization
[e-mobility-charging-stations-simulator.git] / src / utils / PerformanceStatistics.ts
index 515467a6078a12b9bac150dd0d5d0ce1b6ab8906..9594fb3f24f1e1d989f0694c550c7b1ecd2db75a 100644 (file)
@@ -113,7 +113,7 @@ export default class PerformanceStatistics {
   private addPerformanceTimer(command: RequestCommand | IncomingRequestCommand, duration: number): void {
     // Map to proper command name
     const MAPCOMMAND = {
-      sendMeterValues: RequestCommand.METERVALUES,
+      sendMeterValues: RequestCommand.METER_VALUES,
       startTransaction: RequestCommand.START_TRANSACTION,
       stopTransaction: RequestCommand.STOP_TRANSACTION,
     };