X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2Focpp%2F2.0%2FOCPP20RequestService.ts;h=f9f5c2686e3b3115301ed906c1b6f7075f5060c4;hb=1cee0015ac704be480535c7228103525cc3c8cc2;hp=e75842365345c7b2327bb84a0479e4044e269592;hpb=5edd8ba0f8978cfb3ca9d80f299d9748c6c5970e;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/ocpp/2.0/OCPP20RequestService.ts b/src/charging-station/ocpp/2.0/OCPP20RequestService.ts index e7584236..f9f5c268 100644 --- a/src/charging-station/ocpp/2.0/OCPP20RequestService.ts +++ b/src/charging-station/ocpp/2.0/OCPP20RequestService.ts @@ -24,14 +24,14 @@ import type { OCPPResponseService } from '../OCPPResponseService'; const moduleName = 'OCPP20RequestService'; export class OCPP20RequestService 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_20, ocppResponseService); - this.jsonSchemas = new Map>([ + this.jsonSchemas = new Map>([ [ OCPP20RequestCommand.BOOT_NOTIFICATION, OCPP20ServiceUtils.parseJsonSchemaFile(