Skip to content

Updating an ingredient creates a new one instead of updating the existing one #28

Description

@robertmain

Describe the bug
Updating an ingredient actually creates a new ingredient

To Reproduce
Steps to reproduce the behavior:

  1. Make a PUT request to /ingredient/:id` with an object containing the ingredient ID

Expected behavior
The ingredient specified by ID should be updated

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions