Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public class PostResponse {
private String partner;
private BigDecimal price;
private LocalDateTime createdAt;
private String postImage;
private PostCategory postCategory;
private String gifticonCategory;
private LocalDate deadLine;
Expand All @@ -38,7 +37,6 @@ public static PostResponse from(final Post post, final Integer likesCount, final
.partner(post instanceof Gifticon gifticon ? gifticon.getPartner() : null)
.price(post.getPrice())
.createdAt(post.getCreatedAt())
.postImage(post.getPostImage())
.postCategory(post instanceof Gifticon ? PostCategory.GIFTICON : PostCategory.DATA)
.gifticonCategory(post instanceof Gifticon gifticon ? gifticon.getCategory().getCategoryName() : null)
.deadLine(post.getDeadLine())
Expand Down