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
build(simulator): enforce minimum node version 18.18.x
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ocpp
/
OCPPResponseService.ts
diff --git
a/src/charging-station/ocpp/OCPPResponseService.ts
b/src/charging-station/ocpp/OCPPResponseService.ts
index 1bc73bc83cd8071f3c42af848deb44d1ac10af03..0aedbb1eebb5b6a17a2abe94b2b85641c68c07e9 100644
(file)
--- a/
src/charging-station/ocpp/OCPPResponseService.ts
+++ b/
src/charging-station/ocpp/OCPPResponseService.ts
@@
-68,7
+68,7
@@
export abstract class OCPPResponseService {
schema: JSONSchemaType<T>,
payload: T,
): boolean {
schema: JSONSchemaType<T>,
payload: T,
): boolean {
- if (chargingStation.
getOcppStrictCompliance()
=== false) {
+ if (chargingStation.
stationInfo?.ocppStrictCompliance
=== false) {
return true;
}
if (this.jsonRequestValidateFunctions.has(commandName) === false) {
return true;
}
if (this.jsonRequestValidateFunctions.has(commandName) === false) {