X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2Focpp%2F2.0%2FOCPP20IncomingRequestService.ts;h=32843895142ea43e136ae226d6e61cbe91eb68bd;hb=1feac591544c625c56086abe1f14dbdc706280fb;hp=b45345a6faf316febc7c0b283901d708802f8462;hpb=d61c71931ec8c16df695b1f2db2ae85540de0745;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts b/src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts index b45345a6..32843895 100644 --- a/src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts +++ b/src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts @@ -30,7 +30,7 @@ export class OCPP20IncomingRequestService extends OCPPIncomingRequestService { // if (new.target.name === moduleName) { // throw new TypeError(`Cannot construct ${new.target.name} instances directly`) // } - super(OCPPVersion.VERSION_20) + super(OCPPVersion.VERSION_201) this.incomingRequestHandlers = new Map([ [OCPP20IncomingRequestCommand.CLEAR_CACHE, this.handleRequestClearCache.bind(this)] ])