From d0090a0554397edc44ad8ef165a5587fe484a8e1 Mon Sep 17 00:00:00 2001 From: Jayaprakash8887 Date: Mon, 18 Dec 2023 15:34:21 +0530 Subject: [PATCH] Issue #LR-676 feat: Delete User API --- .../org/sunbird/actor/user/UserDeletionBackgroundJobActor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/service/src/main/java/org/sunbird/actor/user/UserDeletionBackgroundJobActor.java b/service/src/main/java/org/sunbird/actor/user/UserDeletionBackgroundJobActor.java index 55717ffd4f..326b401969 100644 --- a/service/src/main/java/org/sunbird/actor/user/UserDeletionBackgroundJobActor.java +++ b/service/src/main/java/org/sunbird/actor/user/UserDeletionBackgroundJobActor.java @@ -14,6 +14,7 @@ import org.sunbird.service.user.UserService; import org.sunbird.service.user.impl.UserServiceImpl; import org.sunbird.util.PropertiesCache; +import org.sunbird.util.user.UserUtil; public class UserDeletionBackgroundJobActor extends BaseActor { @@ -32,7 +33,7 @@ private void inputKafkaTopic(Request request) throws Exception { logger.info("UserDeletionBackgroundJobActor::inputKafkaTopic:: roles size:: " + roles.size()); User user = userService.getUserById(userId, request.getRequestContext()); String rootOrgId = user.getRootOrgId(); - String userName = user.getUserName(); + String userName = UserUtil.getDecryptedData(user.getUserName(), request.getRequestContext()); List> suggestedUsersList = new ArrayList<>(); Map searchQueryMap = new HashMap<>();