Skip to content

Commit

Permalink
Feat: status 응답 변수명 통일 (#179)
Browse files Browse the repository at this point in the history
* #176 - refactor: postStatus 응답 변수을 status 로 바꿈

* #176 - refactor: reviewStatus 응답 변수을 status 로 바꿈
  • Loading branch information
morenow98 authored Feb 21, 2024
1 parent 7f20173 commit d3594d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public record PostDetailResponse(
LocalDateTime modifiedAt,
boolean liked,
boolean isMine,
PostStatus postStatus,
PostStatus status,
PostTemplate template
) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public record PostResponse(
int viewCount,
boolean liked,
boolean isMine,
PostStatus postStatus,
PostStatus status,
PostTemplate template
) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public record ReviewDetailResponse(
LocalDateTime modifiedAt,
boolean liked,
boolean isMine,
ReviewStatus reviewStatus
ReviewStatus status
) {
public static ReviewDetailResponse from(ReviewDetailDto dto, Long memberId) {
return new ReviewDetailResponse(
Expand Down

0 comments on commit d3594d0

Please sign in to comment.