From 461317f89e8082844721cab76dfe9286d3742dfd Mon Sep 17 00:00:00 2001 From: DH CHOI Date: Sun, 29 Oct 2023 12:14:51 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=82=AC=EC=A7=84=20=EA=B4=80?= =?UTF-8?q?=EB=A0=A8=20=EC=9D=91=EB=8B=B5=EC=9D=84=20ImageIdentifier?= =?UTF-8?q?=EB=A1=9C=20=ED=86=B5=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/daybyquest/post/dto/response/PostResponse.java | 6 +++--- .../java/daybyquest/user/dto/response/ProfileResponse.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/daybyquest/post/dto/response/PostResponse.java b/src/main/java/daybyquest/post/dto/response/PostResponse.java index 3eb0042..baf57d1 100644 --- a/src/main/java/daybyquest/post/dto/response/PostResponse.java +++ b/src/main/java/daybyquest/post/dto/response/PostResponse.java @@ -23,17 +23,17 @@ public class PostResponse { private boolean liked; - private List images; + private List imageIdentifiers; public PostResponse(final ProfileResponse author, final Long id, final String content, final LocalDateTime updatedAt, final boolean liked, - final List images) { + final List imageIdentifiers) { this.author = author; this.id = id; this.content = content; this.updatedAt = updatedAt; this.liked = liked; - this.images = images; + this.imageIdentifiers = imageIdentifiers; } public static PostResponse of(final PostData postData, final Profile profile) { diff --git a/src/main/java/daybyquest/user/dto/response/ProfileResponse.java b/src/main/java/daybyquest/user/dto/response/ProfileResponse.java index 47d4b99..581daba 100644 --- a/src/main/java/daybyquest/user/dto/response/ProfileResponse.java +++ b/src/main/java/daybyquest/user/dto/response/ProfileResponse.java @@ -12,7 +12,7 @@ public class ProfileResponse { private String name; - private String imageUrl; + private String imageIdentifier; private Long postCount; @@ -20,12 +20,12 @@ public class ProfileResponse { private boolean blocking; - private ProfileResponse(final String username, final String name, final String imageUrl, + private ProfileResponse(final String username, final String name, final String imageIdentifier, final Long postCount, final boolean following, final boolean blocking) { this.username = username; this.name = name; - this.imageUrl = imageUrl; + this.imageIdentifier = imageIdentifier; this.postCount = postCount; this.following = following; this.blocking = blocking;