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

Commit

Permalink
PFM-4855
Browse files Browse the repository at this point in the history
  • Loading branch information
Saloni-eGov authored Feb 7, 2024
1 parent 34895a1 commit e559f5c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,9 @@ public void process(HashMap<String, Object> consumerRecord) {
if (!StringUtils.isEmpty(expiredSmsTopic))
kafkaTemplate.send(expiredSmsTopic, request);
} else {
log.info("Call from inside if condition");
smsService.sendSMS(request.toDomain());
}
} else {
log.info("Call outside");
smsService.sendSMS(request.toDomain());
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public void sendSMS(Sms sms) {
mobileNumber = mobileNumber.substring(0, 2) + mobileNumber.substring(6);
SmsSaveRequest smsSaveRequest = SmsSaveRequest.builder().id(id).mobileNumber(mobileNumber).message(sms.getMessage())
.category(sms.getCategory()).templateId(sms.getTemplateId()).tenantId(sms.getTenantId()).createdtime(System.currentTimeMillis()).build();
log.info(mobileNumber);
producer.push(smsProperties.getSaveSmsTopic(), smsSaveRequest);
}
submitToExternalSmsService(sms);
Expand Down

0 comments on commit e559f5c

Please sign in to comment.