Skip to content
This repository was archived by the owner on Mar 29, 2022. It is now read-only.
This repository was archived by the owner on Mar 29, 2022. It is now read-only.

Error #26

@anm8tr

Description

@anm8tr

On Section #1, Deleting Meals from the Meal Server, it instructs you to add the following code:

func deleteHandler(id: String, completion: (RequestError?) -> Void ) {
print("Deleting (id) from mealStore")
mealStore[id] = nil
completion(nil)
}

In the documentation for creating the Food Server backend it states to delete all references to "mealStore" when adding the postgresql database. So there is an obvious error when trying to run this script following that tutorial. The whole idea was to get the server to store and delete entries from the database. I have yet to get that part to work properly despite many repeat attempts, assuming I might have missed something somewhere.

Thx for any feedback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions