Skip to content

Commit

Permalink
Update BorrowingRepository.java
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchitc05 authored Nov 9, 2024
1 parent f1d7044 commit 51c05e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@Repository
public interface BorrowingRepository extends JpaRepository<Borrowings, Integer> {

public Page<BorrowingsDto> getAllBorrowingsOfMember(int memberId, Pageable pageable) {
Page<Borrowings> findByMember_memberId(int memberId, Pageable pageable); {
try {
Page<Borrowings> borrowings = borrowingRepository.findByMember_memberId(memberId, pageable);

Expand Down

0 comments on commit 51c05e3

Please sign in to comment.