From 3146b2e0354edcb3a1113e4e70883a4cd8fda76b Mon Sep 17 00:00:00 2001
From: "Diccion, Kaeren C (UG - Computer Science)" <kd00450@surrey.ac.uk>
Date: Fri, 12 Mar 2021 13:36:34 +0000
Subject: [PATCH] Update movies.py

---
 movies.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/movies.py b/movies.py
index f881acf..998ac57 100644
--- a/movies.py
+++ b/movies.py
@@ -11,7 +11,7 @@ with open("{}/database/movies.json".format(os.getcwd()), "r") as f:
 
 @app.route("/", methods=['GET'])
 def hello():
-    return nice_json({
+    return json.dumps({
         "uri": "/",
         "subresource_uris": {
             "movies": "/movies",
-- 
GitLab