diff --git a/src/main/java/org/sunbird/profile/service/ProfileServiceImpl.java b/src/main/java/org/sunbird/profile/service/ProfileServiceImpl.java index e29b8121e..b9b48e22a 100644 --- a/src/main/java/org/sunbird/profile/service/ProfileServiceImpl.java +++ b/src/main/java/org/sunbird/profile/service/ProfileServiceImpl.java @@ -414,7 +414,7 @@ public SBApiResponse migrateUser(Map request, String userToken, return response; } - boolean assignValue = userUtilityService.assignRole((String) userData.get(Constants.ROOT_ORG_ID_LOWER), userId, + boolean assignValue = userUtilityService.assignRole((String) userData.get(Constants.ROOT_ORG_ID), userId, StringUtils.EMPTY); if (assignValue) {