Describe the bug
Updating an ingredient actually creates a new ingredient
To Reproduce
Steps to reproduce the behavior:
- Make a
PUT request to /ingredient/:id` with an object containing the ingredient ID
Expected behavior
The ingredient specified by ID should be updated
Describe the bug
Updating an ingredient actually creates a new ingredient
To Reproduce
Steps to reproduce the behavior:
PUTrequest to /ingredient/:id` with an object containing the ingredient IDExpected behavior
The ingredient specified by ID should be updated