Spaces:
Running
Running
OnlyBiggg
commited on
Commit
·
d34755d
1
Parent(s):
52802de
fix
Browse files
app/dialogflow/services/dialog_service.py
CHANGED
@@ -49,7 +49,7 @@ class DialogService:
|
|
49 |
"departureTime": departure_time,
|
50 |
"kind": kind,
|
51 |
}
|
52 |
-
response = api.get(api_base=settings.API_BASE_URL_VATO, endpoint=f"/seats/{route_id}/{trip_id}" , params=params)
|
53 |
seats = response["data"]
|
54 |
return seats
|
55 |
except Exception as e:
|
|
|
49 |
"departureTime": departure_time,
|
50 |
"kind": kind,
|
51 |
}
|
52 |
+
response = await api.get(api_base=settings.API_BASE_URL_VATO, endpoint=f"/seats/{route_id}/{trip_id}" , params=params)
|
53 |
seats = response["data"]
|
54 |
return seats
|
55 |
except Exception as e:
|