Skip to content

Commit

Permalink
fix: 답변이 null인 경우에 대한 처리 추가 (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ503 authored Oct 16, 2023
1 parent d8096cf commit 937b365
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static ReadQnaResponse from(final ReadQnaDto readQnaDto) {
}

private static ReadAnswerResponse processReadAnswerResponse(final ReadAnswerDto readAnswerDto) {
if (readAnswerDto.isDeleted()) {
if (readAnswerDto == null || readAnswerDto.isDeleted()) {
return null;
}

Expand Down

0 comments on commit 937b365

Please sign in to comment.