We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac3ea00 commit e75f7deCopy full SHA for e75f7de
1 file changed
backend/flowmeet-api/src/main/java/kr/flowmeet/api/chat/dto/response/ReferencedUserResponse.java
@@ -9,13 +9,16 @@ public record ReferencedUserResponse(
9
Long userId,
10
@Schema(description = "닉네임", example = "홍길동")
11
String nickname,
12
+ @Schema(description = "이메일", example = "user@example.com")
13
+ String email,
14
@Schema(description = "프로필 이미지 URL", example = "https://example.com/profile.png")
15
String profileImageUrl
16
) {
17
public static ReferencedUserResponse from(final ProjectMember member) {
18
return new ReferencedUserResponse(
19
member.getUserId(),
20
member.getUser().getNickname(),
21
+ member.getUser().getEmail(),
22
member.getUser().getProfileImageUrl()
23
);
24
}
0 commit comments