Skip to content

Commit

Permalink
refactor : BuyCommandService isBuyerLoggedInUser() 접근권한 private으로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
vanillacake369 committed Feb 3, 2024
1 parent ef0136e commit 347b618
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public void deleteBuyByIdAndUser(Buy buy, User buyer) {
buyRepository.delete(buy);
}

public boolean isBuyerLoggedInUser(Buy buy, User user) {
private boolean isBuyerLoggedInUser(Buy buy, User user) {
return buy.getUser().getLoginId().equals(user.getLoginId());
}

Expand Down

0 comments on commit 347b618

Please sign in to comment.