Skip to content

Commit

Permalink
Merge pull request #23 from ArpithaSureshappa/dev-4.8.16
Browse files Browse the repository at this point in the history
certificate new template changes added
  • Loading branch information
sureshece16 authored Aug 6, 2024
2 parents 2f0ed7b + e4d7c54 commit 25a395d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/igot/cb/consumer/KafkaConsumer.java
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private void replacePlaceholders(JsonNode jsonNode, Map<String, Object> certific

private String getReplacementValue(String placeholder, Map<String, Object> certificateRequest) {
log.debug("KafkaConsumer :: getReplacementValue");
String value=WordUtils.wrap("Recognizing Institutional Obligations to Individual Patients With Protected Characteristics:", 100, "\n", false);
String value=WordUtils.wrap((String) certificateRequest.get("courseName"), 100, "\n", false);
switch (placeholder) {
case "user.id":
return (String) certificateRequest.get("userid");
Expand Down

0 comments on commit 25a395d

Please sign in to comment.