Skip to content

Commit

Permalink
REFACTOR: 게시글조회/전체채팅조회 날짜 포맷
Browse files Browse the repository at this point in the history
  • Loading branch information
givesilverstick committed Aug 18, 2023
1 parent 4151bcc commit 6c46cb7
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,4 @@ public Slice<DeliveryResponseDto> getAllDeliveryPosts(Member member,



// 게시글 상태 조회
public PostStatus findPostStatus(Member member, String postId) {
DeliveryPost deliveryPost = deliveryPostRepository.findByIdAndMember(Long.valueOf(postId), member)
.orElseThrow(() -> new RuntimeException("해당하는 게시글을 찾을 수 없습니다."));
return deliveryPost.getStatus();
}

}

0 comments on commit 6c46cb7

Please sign in to comment.