From 78d35cf66b64f2f38d3b878adfa7da5079421de8 Mon Sep 17 00:00:00 2001 From: akshitak <42449006+akshitak@users.noreply.github.com> Date: Sat, 27 Oct 2018 16:08:35 +0530 Subject: [PATCH] Changed the return value --- api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.py b/api.py index a3fcdf3..32a41e9 100644 --- a/api.py +++ b/api.py @@ -37,7 +37,7 @@ def new_books(): if id in books: return {"Id already there"} books.append({'id':id,'value':value}) - return {'status':'ok'} + return {'status':'true'} app.run(debug = True)