Skip to content

Commit

Permalink
Fix: 모임 사용자 본명 대신 닉네임 전달 (#185)
Browse files Browse the repository at this point in the history
* refactor: zone_category에 "세종" 추가

* fix: 모임 작성자 본명이 아니라 닉네임 전달
  • Loading branch information
HyunJinNo authored Sep 21, 2024
1 parent 996ba72 commit 1d6df56
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class GatheringBriefResponse {
private Integer likeCount;

private String gatheringCategoryName;
private String userName;
private String nickname;

private LocalDateTime scheduleStartDate;
private LocalDateTime scheduleEndDate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public Page<GatheringBriefResponse> getGatheringPageFilterAndOrder(Pageable page
isGatheringBookmark(userId),
countGreatGathering,
gathering.gatheringCategory.name,
gathering.user.name,
gathering.user.nickname,
gathering.scheduleStartDate,
gathering.scheduleEndDate,
gathering.deadline,
Expand Down Expand Up @@ -249,7 +249,7 @@ public List<GatheringBriefResponse> getGatheringLikeCountFromCreatedIn3(Long use
isGatheringBookmark(userId),
likeCount,
gathering.gatheringCategory.name,
gathering.user.name,
gathering.user.nickname,
gathering.scheduleStartDate,
gathering.scheduleEndDate,
gathering.deadline,
Expand Down
5 changes: 3 additions & 2 deletions src/main/resources/zone_category.sql
Original file line number Diff line number Diff line change
Expand Up @@ -276,5 +276,6 @@ VALUES (16, '전주시'),
(16, '무주군'),
(16, '장수군');

# INSERT INTO `zone_category` (`parent_zone_category_id`, `zone_category_name`)
# VALUES (17, '세종');
INSERT INTO `zone_category` (`parent_zone_category_id`, `zone_category_name`) VALUES (NULL, '세종');
INSERT INTO `zone_category` (`parent_zone_category_id`, `zone_category_name`) VALUES (245, '세종');

0 comments on commit 1d6df56

Please sign in to comment.