diff --git a/municipal-services/ws-calculator/src/main/java/org/egov/wscalculation/service/DemandService.java b/municipal-services/ws-calculator/src/main/java/org/egov/wscalculation/service/DemandService.java index 6292bcfc4..da2a0a6e0 100644 --- a/municipal-services/ws-calculator/src/main/java/org/egov/wscalculation/service/DemandService.java +++ b/municipal-services/ws-calculator/src/main/java/org/egov/wscalculation/service/DemandService.java @@ -491,7 +491,7 @@ private String getShortenedUrl(String url) { private void sendSMSNotification(RequestInfo requestInfo, List smsRequests, String billCycle, String consumerCode, List demandDetails) { UserDetailResponse userDetailResponse = userService.getUserByRoleCodes(requestInfo, Arrays.asList("GP_ADMIN"), - "pb"); + requestInfo.getUserInfo().getTenantId().substring(0,2)); for (OwnerInfo ownerInfo : userDetailResponse.getUser()) { String localizationMessage = util.getLocalizationMessages(ownerInfo.getTenantId(), requestInfo); String messageString = util.getMessageTemplate(WSCalculationConstant.mGram_Consumer_NewBill,