From fd5e32b30950443e2375111e8c13ed24d1dd3ca9 Mon Sep 17 00:00:00 2001
From: "Prof. Nishanth Sastry" <n.sastry@surrey.ac.uk>
Date: Fri, 18 Mar 2022 14:17:49 +0000
Subject: [PATCH] add missing return

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

diff --git a/showtimes.py b/showtimes.py
index f4d236c..e9ff629 100644
--- a/showtimes.py
+++ b/showtimes.py
@@ -24,7 +24,7 @@ def hello():
 
 @app.route("/showtimes", methods=['GET'])
 def showtimes_list():
-    nice_json(showtimes)
+    return nice_json(showtimes)
 
 
 @app.route("/showtimes/<date>", methods=['GET'])
-- 
GitLab