Skip to content

Commit 90dabd3

Browse files
committed
[EA3-163] refactor: 회원 이미지 url 필드 이름 변경
1 parent 1d0d08b commit 90dabd3

File tree

1 file changed

+3
-3
lines changed
  • src/main/java/grep/neogul_coder/domain/studypost/controller/dto/response

1 file changed

+3
-3
lines changed

src/main/java/grep/neogul_coder/domain/studypost/controller/dto/response/PostInfo.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class PostInfo {
1919
private String nickname;
2020

2121
@Schema(description = "작성자 프로필 이미지 URL", example = "https://cdn.example.com/profile.jpg")
22-
private String profileImageUrl;
22+
private String imageUrl;
2323

2424
@Schema(description = "게시글 ID", example = "10")
2525
private Long postId;
@@ -37,11 +37,11 @@ public class PostInfo {
3737
private LocalDateTime createdDate;
3838

3939
@QueryProjection
40-
public PostInfo(long userId, String nickname, String profileImageUrl, Long postId,
40+
public PostInfo(long userId, String nickname, String imageUrl, Long postId,
4141
String title, Category category, String content, LocalDateTime createdDate) {
4242
this.userId = userId;
4343
this.nickname = nickname;
44-
this.profileImageUrl = profileImageUrl;
44+
this.imageUrl = imageUrl;
4545
this.postId = postId;
4646
this.title = title;
4747
this.category = category;

0 commit comments

Comments
 (0)