diff --git a/Lesson-3/19_Responding-with-JSON/project.py b/Lesson-3/19_Responding-with-JSON/project.py index f9bfc87..821f525 100644 --- a/Lesson-3/19_Responding-with-JSON/project.py +++ b/Lesson-3/19_Responding-with-JSON/project.py @@ -53,7 +53,7 @@ def editMenuItem(restaurant_id, menu_id): if request.form['name']: editedItem.name = request.form['name'] if request.form['description']: - editedItem.description = request.form['name'] + editedItem.description = request.form['description'] if request.form['price']: editedItem.price = request.form['price'] if request.form['course']: