diff --git a/EnmodalCore.py b/EnmodalCore.py index 3005608..22cbc5a 100644 --- a/EnmodalCore.py +++ b/EnmodalCore.py @@ -408,7 +408,7 @@ def route_edge_add(): line_to_use.add_edge(edge) return edge.to_json() else: - return json.dumps({"error": "Stops Not Found"}) + return json.dumps({"error": "No Stops"}) return json.dumps({"error": "Invalid ID"}) diff --git a/EnmodalSessions.py b/EnmodalSessions.py index 3eaabc5..9fbe5f0 100644 --- a/EnmodalSessions.py +++ b/EnmodalSessions.py @@ -66,7 +66,7 @@ def auth_by_key(self, h): public_session = self.get_by_public_key(h) if public_session is not None: public_session.keep_alive() - a = EnmodalSessionAuthentication(public_session, False) + a = EnmodalSessionAuthentication(public_session, True) return a private_session = self.get_by_private_key(h) if private_session is not None: diff --git a/tools/import_zip_codes.js b/tools/import_zip_codes.js index 4a87274..9fda12b 100644 --- a/tools/import_zip_codes.js +++ b/tools/import_zip_codes.js @@ -22,9 +22,9 @@ var ZIP_FILE = settings["d"]; var CBP_FILE = settings["e"]; var config = { - user: 'postgres', + user: 'user', database: 'transit', - password: 'nostrand', + password: '123456789', host: 'localhost', port: 5432, max: 10,