Skip to content

Commit

Permalink
fix: make sure to handle record with missing id (lightweight edges) i…
Browse files Browse the repository at this point in the history
…n delete query, issue #10239
  • Loading branch information
tglman committed Aug 5, 2024
1 parent 766c06b commit e1c3fd5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ public OElement toElement() {
@Override
public Optional<ORID> getIdentity() {
if (element != null) {
return Optional.of(element.getIdentity());
return Optional.ofNullable(element.getIdentity());
}
return Optional.empty();
}
Expand Down

0 comments on commit e1c3fd5

Please sign in to comment.