Unverified Commit 529cbe5f authored by Hari-stackroute's avatar Hari-stackroute Committed by GitHub
Browse files

SB-26927 changed the method for getting user-details (#959)

* SB-26927 nullpointer exception

* SB-26927 changed the method for getting user-details
Showing with 1 addition and 1 deletion
+1 -1
......@@ -138,7 +138,7 @@ public class TenantMigrationActor extends BaseActor {
Map<String, Object> targetObject = null;
List<Map<String, Object>> correlatedObject = new ArrayList<>();
Map<String, Object> userDetails =
userService.getUserDetailsById(
userService.getUserDetailsForES(
(String) request.getRequest().get(JsonKey.USER_ID), request.getRequestContext());
tenantServiceImpl.validateUserCustodianOrgId((String) userDetails.get(JsonKey.ROOT_ORG_ID));
tenantServiceImpl.validateChannelAndGetRootOrgId(request);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment