Skip to content

Commit

Permalink
merge(Calendar) : 캘린더 정보 보기 - 응답에 category 필드 추가
Browse files Browse the repository at this point in the history
[✨feat] 캘린더 정보 보기 - 응답에 category 필드 추가
  • Loading branch information
0-tae authored Feb 28, 2025
2 parents 70deff6 + 1c03bc0 commit 8db8f77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public class MonthAppointment implements Comparable<MonthAppointment>{
LocalDateTime startTime;
LocalDateTime endTime;
long duration;
String category;


public static MonthAppointment from(Appointment appointment, AppointmentOption appointmentOption){
Expand All @@ -32,7 +33,9 @@ public static MonthAppointment from(Appointment appointment, AppointmentOption a
appointmentOption.getDate(),
appointmentOption.getStartTime(),
appointmentOption.getEndTime(),
appointment.getDuration().value());
appointment.getDuration().value(),
appointment.getCategory().getMessage()
);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class KakaoAccessTokenResponse {
private String accessToken;
private String idToken;
private int expiresIn;
private String refreshToken; // TODO: 만약 갱신이 필요할 경우 포함되어 전달됨
private String refreshToken; // 만약 갱신이 필요할 경우 포함되어 전달됨
private String refreshTokenExpiresIn;

private String error;
Expand Down

0 comments on commit 8db8f77

Please sign in to comment.