Skip to content

Commit

Permalink
Merge pull request #31 from penguineer/27-npe-fix
Browse files Browse the repository at this point in the history
Fix NPE on new ledgers
  • Loading branch information
penguineer authored Aug 15, 2024
2 parents 3113026 + b28a510 commit 34dcfa5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public static class LedgerBean {

public LedgerDTO toDTO() {
return new LedgerDTO(
id == null ? null : UUID.fromString(id),
id == null || id.isBlank() ? null : UUID.fromString(id),
name, startDate, endDate, closed);
}
}
Expand Down

0 comments on commit 34dcfa5

Please sign in to comment.