Skip to content

Commit

Permalink
FINERACT-2081: Fix update client identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaswanth-Sriram-Veturi authored and adamsaghy committed Sep 8, 2024
1 parent b86a240 commit 8a28f1e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ public Map<String, Object> update(final JsonCommand command) {

final String statusParamName = "status";
if (command.isChangeInStringParameterNamed(statusParamName, ClientIdentifierStatus.fromInt(this.status).getCode())) {
final String newValue = command.stringValueOfParameterNamed(descriptionParamName);
actualChanges.put(descriptionParamName, ClientIdentifierStatus.valueOf(newValue));
final String newValue = command.stringValueOfParameterNamed(statusParamName);
actualChanges.put(statusParamName, ClientIdentifierStatus.valueOf(newValue));
this.status = ClientIdentifierStatus.valueOf(newValue).getValue();
}

Expand Down

0 comments on commit 8a28f1e

Please sign in to comment.