Skip to content

Commit 66e6d7f

Browse files
author
Willy
committed
[FIX] push_status를 대문자로 넘겨주도록 수정
1 parent 8d8230a commit 66e6d7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/terning/terningserver/user/dto/response/ProfileResponseDto.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ public record ProfileResponseDto(
1313
public static ProfileResponseDto of(final User user){
1414
return ProfileResponseDto.builder()
1515
.name(user.getName())
16-
.profileImage(user.getProfileImage().getValue()) // Enum to String
16+
.profileImage(user.getProfileImage().getValue())
1717
.authType(user.getAuthType().name().toUpperCase())
18-
.pushStatus(user.getPushStatus().value())
18+
.pushStatus(user.getPushStatus().value().toUpperCase())
1919
.build();
2020
}
2121
}

0 commit comments

Comments
 (0)