moved todo

master
km0 3 years ago
parent 32d41083ec
commit 6c43e3731a

@ -75,6 +75,7 @@ r = {
} }
# TODO: get data from client
@app.route("/", methods=["GET", "POST"]) @app.route("/", methods=["GET", "POST"])
def home(): def home():
if request.method == "POST": if request.method == "POST":
@ -85,7 +86,6 @@ def home():
# return the list of recipes in JSON format # return the list of recipes in JSON format
# TODO: get data from client
@app.route("/get") @app.route("/get")
def get(): def get():
recipes = get_recipes() recipes = get_recipes()

Loading…
Cancel
Save