X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2Focpp%2F1.6%2FOCPP16RequestService.ts;h=d731071df7fb7c1ce7db2b730c527dd6e34b5e8f;hb=291b5ec8b20005de53c4de3eba0e4cd1b068006c;hp=5c1c129f6b671a96d22207f8aa4c6620a88ab7d1;hpb=ec0eebcce06f18b41e6639b72728110bda55c250;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/ocpp/1.6/OCPP16RequestService.ts b/src/charging-station/ocpp/1.6/OCPP16RequestService.ts index 5c1c129f..d731071d 100644 --- a/src/charging-station/ocpp/1.6/OCPP16RequestService.ts +++ b/src/charging-station/ocpp/1.6/OCPP16RequestService.ts @@ -32,14 +32,14 @@ import type { OCPPResponseService } from '../OCPPResponseService'; const moduleName = 'OCPP16RequestService'; export class OCPP16RequestService extends OCPPRequestService { - protected jsonSchemas: Map>; + protected jsonSchemas: Map>; public constructor(ocppResponseService: OCPPResponseService) { // if (new.target?.name === moduleName) { // throw new TypeError(`Cannot construct ${new.target?.name} instances directly`); // } super(OCPPVersion.VERSION_16, ocppResponseService); - this.jsonSchemas = new Map>([ + this.jsonSchemas = new Map>([ [ OCPP16RequestCommand.AUTHORIZE, OCPP16ServiceUtils.parseJsonSchemaFile(