Skip to content

Commit

Permalink
Merge pull request #59 from studio-recoding/!HOTFIX-schedule-create
Browse files Browse the repository at this point in the history
[⚠️!HOTFIX] endTime이 null이면 startTime이랑 같이 맞춰주는 것으로 변경
  • Loading branch information
JeonHaeseung authored May 5, 2024
2 parents 0fc8152 + 8407c31 commit e749512
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ public void postNewAiSchedule(String info, String location, String person,
ZonedDateTime startTime, ZonedDateTime endTime,
Long category, Long memberId, Long scheduleId){

if(endTime == null){
endTime = startTime;
}

PostFastApiScheduleDto dto = PostFastApiScheduleDto.builder()
.info(info)
.location(location)
Expand Down

0 comments on commit e749512

Please sign in to comment.