Skip to content

Commit 35ed6b7

Browse files
authored
Merge pull request steve-community#50 from gregorschatz/master
fix steve-community#49 OCPP ChangeConfiguration with custom key is broken
2 parents 8ad33a9 + 3695ddd commit 35ed6b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/de/rwth/idsg/steve/ocpp/task/ChangeConfigurationTask.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@ public OcppCallback<String> defaultCallback() {
2525
@Override
2626
public ocpp.cp._2010._08.ChangeConfigurationRequest getOcpp12Request() {
2727
return new ocpp.cp._2010._08.ChangeConfigurationRequest()
28-
.withKey(params.getConfKey())
28+
.withKey(params.getKey())
2929
.withValue(params.getValue());
3030
}
3131

3232
@Override
3333
public ocpp.cp._2012._06.ChangeConfigurationRequest getOcpp15Request() {
3434
return new ocpp.cp._2012._06.ChangeConfigurationRequest()
35-
.withKey(params.getConfKey())
35+
.withKey(params.getKey())
3636
.withValue(params.getValue());
3737
}
3838

3939
@Override
4040
public ocpp.cp._2015._10.ChangeConfigurationRequest getOcpp16Request() {
4141
return new ocpp.cp._2015._10.ChangeConfigurationRequest()
42-
.withKey(params.getConfKey())
42+
.withKey(params.getKey())
4343
.withValue(params.getValue());
4444
}
4545

0 commit comments

Comments
 (0)