Skip to content

Delete Category #11

@Alkandari-Y

Description

@Alkandari-Y

deleteRecipe controller isn't working at the moment.

When attempting to delete a category, the following error is returned:

{
    "error": {
        "message": "req.category.id.deleteOne is not a function"
    }
}

Use deleteOne on the req.category directly without the id

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions