From c9bac0b834aa258de9fc3b22c79160a2cc727fcf Mon Sep 17 00:00:00 2001 From: "Diccion, Kaeren C (UG - Computer Science)" <kd00450@surrey.ac.uk> Date: Fri, 12 Mar 2021 13:54:49 +0000 Subject: [PATCH] Update showtimes.py --- showtimes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/showtimes.py b/showtimes.py index 7136f94..b5c1864 100644 --- a/showtimes.py +++ b/showtimes.py @@ -24,7 +24,7 @@ def hello(): @app.route("/showtimes", methods=['GET']) def showtimes_list(): - json.dump(showtimes) + return json.dump(showtimes) @app.route("/showtimes/<date>", methods=['GET']) -- GitLab