diff --git a/bookstore/src/main/java/com/fjordtek/bookstore/model/auth/RoleRepository.java b/bookstore/src/main/java/com/fjordtek/bookstore/model/auth/RoleRepository.java index 6e54928..de6e989 100644 --- a/bookstore/src/main/java/com/fjordtek/bookstore/model/auth/RoleRepository.java +++ b/bookstore/src/main/java/com/fjordtek/bookstore/model/auth/RoleRepository.java @@ -2,8 +2,6 @@ package com.fjordtek.bookstore.model.auth; -import java.util.List; - import org.springframework.data.repository.CrudRepository; import org.springframework.data.rest.core.annotation.RepositoryRestResource; @@ -23,6 +21,6 @@ import org.springframework.data.rest.core.annotation.RepositoryRestResource; ) public interface RoleRepository extends CrudRepository { - List findByName(String string); + Role findByName(String string); } \ No newline at end of file