diff --git a/service/src/main/java/org/sunbird/dao/user/impl/UserExternalIdentityDaoImpl.java b/service/src/main/java/org/sunbird/dao/user/impl/UserExternalIdentityDaoImpl.java index f3bbc66510..106eb0f117 100644 --- a/service/src/main/java/org/sunbird/dao/user/impl/UserExternalIdentityDaoImpl.java +++ b/service/src/main/java/org/sunbird/dao/user/impl/UserExternalIdentityDaoImpl.java @@ -81,6 +81,7 @@ public void deleteUserExternalId(Map map, RequestContext context map.remove(JsonKey.ORIGINAL_EXTERNAL_ID); map.remove(JsonKey.ORIGINAL_ID_TYPE); map.remove(JsonKey.ORIGINAL_PROVIDER); + map.remove(JsonKey.USER_ID); cassandraOperation.deleteRecord( ProjectUtil.getConfigValue(JsonKey.SUNBIRD_KEYSPACE), JsonKey.USR_EXT_IDNT_TABLE,