Spaces:
Sleeping
Sleeping
OnlyBiggg
commited on
Commit
·
d0fa370
1
Parent(s):
7f38eee
fix
Browse files- app/api/routes.py +1 -2
app/api/routes.py
CHANGED
@@ -297,8 +297,7 @@ async def is_valid_select_trip(request: Request) -> Response:
|
|
297 |
trip_list: List[Dict[str, any]] = parameters.get("trip_list")
|
298 |
for trip in trip_list:
|
299 |
if trip["route_name"] == raw_input:
|
300 |
-
route_id = trip["route_id"]
|
301 |
-
print(route_id)
|
302 |
break
|
303 |
|
304 |
parameters = {
|
|
|
297 |
trip_list: List[Dict[str, any]] = parameters.get("trip_list")
|
298 |
for trip in trip_list:
|
299 |
if trip["route_name"] == raw_input:
|
300 |
+
route_id = int(trip["route_id"])
|
|
|
301 |
break
|
302 |
|
303 |
parameters = {
|