Skip to content

Commit

Permalink
arreglar adoptions scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardmallol committed Apr 16, 2024
2 parents 6a263ed + f505418 commit 7018285
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@

@RepositoryRestResource
public interface PetRepository extends CrudRepository<Pet, Long>, PagingAndSortingRepository<Pet, Long> {
Pet findByName(@Param("name") String name);

Pet findPetById(@Param("id") Long id);
Pet findByName(@Param("name") String name);
Pet findByChip(@Param("chip") String name);

}

0 comments on commit 7018285

Please sign in to comment.