Skip to content

Commit

Permalink
fix: 이전 처럼 String 으로 응답하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
zzoe2346 committed Nov 9, 2024
1 parent d0c6e35 commit a68ad3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

public record PointLogResponse(
LocalDateTime postTime,
PointLog.Content content,
String content,
int price,
PointLog.Status status
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public Page<PointLogResponse> getPointLogs(Long memberId, Pageable pageable) {
return pointLogRepository.findAllByMember(member, pageable)
.map(pointLog -> new PointLogResponse(
pointLog.getPostTime(),
pointLog.getContent(),
pointLog.getContent().getMessage(),
pointLog.getPrice(),
pointLog.getStatus()
));
Expand Down

0 comments on commit a68ad3d

Please sign in to comment.