Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion EnmodalCore.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"})

Expand Down
2 changes: 1 addition & 1 deletion EnmodalSessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions tools/import_zip_codes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down