diff --git a/src/main/java/com/geekster/moduleclearancetest/RecipeManagementSystemAPIwithAWS/controller/RecipeController.java b/src/main/java/com/geekster/moduleclearancetest/RecipeManagementSystemAPIwithAWS/controller/RecipeController.java index 68d0c80..e6b35a6 100644 --- a/src/main/java/com/geekster/moduleclearancetest/RecipeManagementSystemAPIwithAWS/controller/RecipeController.java +++ b/src/main/java/com/geekster/moduleclearancetest/RecipeManagementSystemAPIwithAWS/controller/RecipeController.java @@ -28,7 +28,7 @@ public Recipe getRecipe(@PathVariable Long recipeId) { } @GetMapping - public IterablegetAllRooms() + public IterablegetAllRecipes() { return recipeService.getRecipes(); }