added pop up view ingredients + warnings for delete removed the star import
This commit is contained in:
parent
ec60b7b7d3
commit
bab9046682
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ public class IngredientController {
|
|||
return ResponseEntity.ok(saved);
|
||||
})
|
||||
.orElseGet(() ->
|
||||
ResponseEntity.status(409)
|
||||
ResponseEntity.status(HttpStatus.CONFLICT)
|
||||
.body("ingredient name already exists"));
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue