Skip to content

Commit

Permalink
custom readonly values were not reported. now fixed
Browse files Browse the repository at this point in the history
Signed-off-by: pietfried <[email protected]>
  • Loading branch information
Pietfried committed Oct 6, 2023
1 parent 9d26227 commit 7c95014
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/ocpp/v16/charge_point_configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2020,9 +2020,6 @@ std::optional<KeyValue> ChargePointConfiguration::getCustomKeyValue(CiString<50>
try {
KeyValue kv;
kv.readonly = this->custom_schema["properties"][key]["readOnly"];
if (kv.readonly) {
return std::nullopt;
}
kv.key = key;
if (this->config["Custom"][key].is_string()) {
kv.value = std::string(this->config["Custom"][key]);
Expand Down

0 comments on commit 7c95014

Please sign in to comment.