Skip to content

Commit

Permalink
fix: nonFriend RelationName 추가 (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunom authored Dec 28, 2023
2 parents 64be5d1 + 056ebae commit 8d8e527
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/sopt/app/domain/enums/Friendship.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@Getter
@RequiredArgsConstructor(access = AccessLevel.PRIVATE)
public enum Friendship {
NON_FRIEND("nonfriend","", 0,2),
NON_FRIEND("nonfriend","새로운 친구", 0,2),
NEW_FRIEND("new","친한친구",2, 4),
BEST_FRIEND("bestfriend","단짝친구",5,10),
SOULMATE("soulmate","천생연분",11,99)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/sopt/app/facade/PokeFacade.java
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ private PokeInfo.PokedUserInfo getFriendUserInfo(User user, Long friendUserId) {
.relation(
PokeInfo.Relationship.builder()
.pokeCount(0)
.relationName("")
.relationName(Friendship.NON_FRIEND.getFriendshipName())
.build()
)
.mutualFriendNames(mutualFriendNames)
Expand Down

0 comments on commit 8d8e527

Please sign in to comment.