Skip to content

Commit

Permalink
FIX : 경조사 통계 조회 API 응답 에러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
choidongkuen committed Nov 8, 2023
1 parent dacc3bc commit 8fc7c88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/example/howmuch/domain/entity/AcEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public GetCalendarScheduleResponseDto toGetCalendarScheduleResponseDto() {
.type("acEvent")
.eventAt(eventAt)
.amount(payAmount)
.eventCategory(eventCategory.getValue())
.eventDisplayName(eventDisplayName)
.build();
}
Expand All @@ -133,7 +134,7 @@ public String getAcEventDisplayName() {
return eventDisplayName;
}

public String getAcEventDisplayNameWithDetail(){
public String getAcEventDisplayNameWithDetail() {
String eventDisplayName;
if (eventCategory == EventCategory.ETC && eventName != null) {
eventDisplayName = eventName;
Expand Down

0 comments on commit 8fc7c88

Please sign in to comment.