Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #740 from egovernments/PFM-5688
Browse files Browse the repository at this point in the history
PFM-5688 updated message template
  • Loading branch information
pradeepkumarcm-egov authored Mar 6, 2024
2 parents 1090904 + 905de86 commit c8c0abf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
public class SMSRequest {
private String mobileNumber;
private String message;

private String tenantId;
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void sendNotification(EmployeeRequest request, Map<String, String> pwdMap
}
for(Employee employee: request.getEmployees()) {
message = buildMessage(employee, message, pwdMap);
SMSRequest smsRequest = SMSRequest.builder().mobileNumber(employee.getUser().getMobileNumber()).message(message).build();
SMSRequest smsRequest = SMSRequest.builder().mobileNumber(employee.getUser().getMobileNumber()).message(message).tenantId(employee.getTenantId()).build();
producer.push(smsTopic, smsRequest);
}
}
Expand Down

0 comments on commit c8c0abf

Please sign in to comment.