Skip to content

Commit

Permalink
refactor: 잘못된 코드 리팩터링
Browse files Browse the repository at this point in the history
  • Loading branch information
SeonJuuuun committed Mar 9, 2024
1 parent 6524bbc commit 99650a3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
import org.springframework.stereotype.Repository;

@Repository
public interface ProductRepository extends JpaRepository<ProductRepository, Long> {
List<Product> findByUserId(Long userId);
public interface ProductRepository extends JpaRepository<Product, Long> {
List<Product> findAll();
}

0 comments on commit 99650a3

Please sign in to comment.