Skip to content

Commit

Permalink
fix: updated reason null to empty
Browse files Browse the repository at this point in the history
  • Loading branch information
thguss committed Dec 9, 2024
1 parent 057ed68 commit c5da761
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public Correction toDomain() {
return Correction.builder()
.originalSentence(originContent)
.correctedSentence(correctedContent)
.reason(reason)
.reason(reason == null ? "" : reason)
.isCorrected(corrected)
.build();
}
Expand Down

0 comments on commit c5da761

Please sign in to comment.