diff --git a/citizen-registry/src/main/java/io/gaiaid/registry/svc/GaiaService.java b/citizen-registry/src/main/java/io/gaiaid/registry/svc/GaiaService.java index 874d4e0..6527a19 100644 --- a/citizen-registry/src/main/java/io/gaiaid/registry/svc/GaiaService.java +++ b/citizen-registry/src/main/java/io/gaiaid/registry/svc/GaiaService.java @@ -974,7 +974,7 @@ private void restoreEntryPoint(UUID connectionId, UUID threadId, Session session Predicate predicate = builder.equal(root.get("birthdate"), session.getBirthdate()); allPredicates.add(predicate); } - if (restoreBirthdateClaim) { + if (restoreBirthplaceClaim) { Predicate predicate = builder.equal(root.get("placeOfBirth"), session.getPlaceOfBirth()); allPredicates.add(predicate); } @@ -1151,7 +1151,7 @@ private boolean identityAlreadyExists(Session session) { allPredicates.add(predicate); if (debug) logger.info("identityAlreadyExists: birthdate: " + session.getBirthdate()); } - if (restoreBirthdateClaim) { + if (restoreBirthplaceClaim) { Predicate predicate = builder.equal(root.get("placeOfBirth"), session.getPlaceOfBirth()); allPredicates.add(predicate); if (debug) logger.info("identityAlreadyExists: placeOfBirth: " + session.getPlaceOfBirth());