Skip to content

Commit

Permalink
Merge pull request #101 from studio-recoding/!HOTFIX-main-api
Browse files Browse the repository at this point in the history
[⚠️!HOTFIX] person, location이 null일 경우 에러 수정
  • Loading branch information
JeonHaeseung authored May 27, 2024
2 parents 8275c3c + 8ca9bae commit 97fe88b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/Ness/Backend/domain/todo/TodoService.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ public List<GetScheduleDto> getTodo(Long memberId){
.name(schedule.getCategory().getName())
.color(schedule.getCategory().getColor())
.build())
.person(schedule.getPerson())
.location(schedule.getLocation())
.info(schedule.getInfo())
.person(schedule.getPerson() != null ? schedule.getPerson() : "")
.location(schedule.getLocation() != null ? schedule.getLocation() : "")
.info(schedule.getInfo() != null ? schedule.getInfo() : "")
.build())
.toList();

Expand Down

0 comments on commit 97fe88b

Please sign in to comment.