repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: consolidate default values handling
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ocpp
/
2.0
/
OCPP20ResponseService.ts
diff --git
a/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts
b/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts
index ef0a0360bcf5e0a41e12452bc8c49ff020459f22..09b319c9a653b9375920703f3a57cb4b073f8a13 100644
(file)
--- a/
src/charging-station/ocpp/2.0/OCPP20ResponseService.ts
+++ b/
src/charging-station/ocpp/2.0/OCPP20ResponseService.ts
@@
-37,7
+37,7
@@
export class OCPP20ResponseService extends OCPPResponseService {
// if (new.target.name === moduleName) {
// throw new TypeError(`Cannot construct ${new.target.name} instances directly`)
// }
// if (new.target.name === moduleName) {
// throw new TypeError(`Cannot construct ${new.target.name} instances directly`)
// }
- super(OCPPVersion.VERSION_20)
+ super(OCPPVersion.VERSION_20
1
)
this.responseHandlers = new Map<OCPP20RequestCommand, ResponseHandler>([
[
OCPP20RequestCommand.BOOT_NOTIFICATION,
this.responseHandlers = new Map<OCPP20RequestCommand, ResponseHandler>([
[
OCPP20RequestCommand.BOOT_NOTIFICATION,