From 70ebd94d4f55472251221725da536f5904a1b91c Mon Sep 17 00:00:00 2001 From: Sunandan Chakrabarti <43108937+SunandanChakrabarti@users.noreply.github.com> Date: Sat, 19 Oct 2019 14:02:45 -0700 Subject: [PATCH] Revert "check" --- routes/routes.py | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/routes/routes.py b/routes/routes.py index cd470e9..2374c2d 100644 --- a/routes/routes.py +++ b/routes/routes.py @@ -6,23 +6,7 @@ def check(): return "Congratulations! Your app works. :)" -@router.route("/works") -def check(): - return "Checking eligibilty of PRs post challenge completion" - @router.route("/add", methods=["POST"]) def add(): # Add logic here - return - x = request.form.data.param1 - y = request.form.data.param2 - - summation = x+y - - res = { - result: summation, - meta: { - message: "sending addition of two numbers" - } - } - return res + return \ No newline at end of file