Skip to content

Commit

Permalink
Updating last name properly
Browse files Browse the repository at this point in the history
  • Loading branch information
karthik-tarento authored Dec 15, 2022
1 parent b539cd7 commit 1ee60c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ private void getModifiedPersonalDetails(Object personalDetailsObj, Map<String, O
if (Constants.FIRST_NAME_LOWER_CASE.equalsIgnoreCase(paramName)) {
updatedRequest.put(Constants.FIRSTNAME, (String) personalDetailsMap.get(paramName));
} else if (Constants.SURNAME.equalsIgnoreCase(paramName)) {
updatedRequest.put(Constants.FIRSTNAME, (String) personalDetailsMap.get(paramName));
updatedRequest.put(Constants.LASTNAME, (String) personalDetailsMap.get(paramName));
} else if (Constants.MOBILE.equalsIgnoreCase(paramName)) {
updatedRequest.put(Constants.PHONE, String.valueOf(personalDetailsMap.get(paramName)));
}
Expand Down

0 comments on commit 1ee60c5

Please sign in to comment.