From fa71c8bfaa42748c46949eb8b50973a9e84a62c2 Mon Sep 17 00:00:00 2001 From: Lucas Date: Mon, 27 Sep 2021 17:53:20 -0400 Subject: [PATCH] small fix for subwaydata --- server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server.py b/server.py index e24f18c..8695320 100644 --- a/server.py +++ b/server.py @@ -46,6 +46,7 @@ def link_to_station(data): @app.route("/mta_data", methods=["POST"]) def get_mta_data(): + global subway_data station = request.json["station"] if station in subway_data: return jsonify(