Skip to content

Commit

Permalink
tweak backend again
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate-Wessel committed Jul 15, 2024
1 parent 0de767c commit 432cf7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/app/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def aggregate_travel_times(start_node, end_node, start_time, end_time, start_dat
)

# test URL /date-bounds
@app.route('/date-bounds', methods=['GET'])
@app.route('/date-range', methods=['GET'])
def get_date_bounds():
connection = getConnection()
with connection:
Expand All @@ -122,8 +122,8 @@ def get_date_bounds():
( min_date, max_date ) = cursor.fetchone()
connection.close()
return {
"start_date": min_date,
"end_date": max_date
"minDate": min_date,
"maxDate": max_date
}

# test URL /holidays
Expand Down

0 comments on commit 432cf7c

Please sign in to comment.