Skip to content

Commit

Permalink
fix: 내 목탁 정보 조회할 때, 현재 타입 정보를 재공한다
Browse files Browse the repository at this point in the history
  • Loading branch information
DongGeon0908 committed Apr 6, 2024
1 parent af24054 commit f8c4099
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public class MyItemResponse {
private BigDecimal longitude;
private String address;
private ItemType type;
private ItemType currentType;
private LocalDateTime createdAt;
private LocalDateTime modifiedAt;

Expand All @@ -32,6 +33,7 @@ public static MyItemResponse from(Item item) {
.longitude(item.getLongitude())
.address(item.getAddress())
.type(item.getType())
.currentType(item.getCurrentType())
.createdAt(item.getCreatedAt())
.modifiedAt(item.getModifiedAt())
.build();
Expand Down

0 comments on commit f8c4099

Please sign in to comment.