Skip to content

Commit

Permalink
fixed copy/paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
mjfelis committed Feb 20, 2024
1 parent 5a6db2d commit 681130e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit 681130e

Please sign in to comment.