X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2FStatistics.ts;h=2aa99b0d4c9f317c78d14a052c65da80f4cbac4c;hb=8434025b7338b3439180ed7c2bed888fc42e04d3;hp=966f1b57a6cc2b61de80485bc32c7cb57abbb5c2;hpb=418106c832022ba6f100f4bf81315300994bee87;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/Statistics.ts b/src/utils/Statistics.ts index 966f1b57..2aa99b0d 100644 --- a/src/utils/Statistics.ts +++ b/src/utils/Statistics.ts @@ -14,7 +14,7 @@ export default class Statistics { public constructor(objName: string) { this.objId = objName; - this.commandsStatistics = { id: this.objId ? this.objId : ' Object id not specified', commandsStatisticsData: {} } as CommandStatistics; + this.commandsStatistics = { id: this.objId ? this.objId : 'Object id not specified', commandsStatisticsData: {} }; } public addMessage(command: RequestCommand | IncomingRequestCommand, messageType: MessageType): void {