From 7575bf29312ddf6554b81c446ee5d5b4118c19a0 Mon Sep 17 00:00:00 2001 From: akashgosai <34570479+akashgosai@users.noreply.github.com> Date: Tue, 13 Mar 2018 23:06:22 +0530 Subject: [PATCH] fixed --- Lesson-3/19_Responding-with-JSON/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']: