Spaces:
Sleeping
Sleeping
OnlyBiggg commited on
Commit ·
4c50e38
1
Parent(s): 07b2358
add
Browse files- app/api/routes.py +1 -1
app/api/routes.py
CHANGED
|
@@ -237,7 +237,7 @@ async def booking_trip(request: Request) -> Response:
|
|
| 237 |
parameters = {
|
| 238 |
"trip_list": routes_name
|
| 239 |
}
|
| 240 |
-
return DialogFlowResponseAPI(text=text, parameters=parameters)
|
| 241 |
|
| 242 |
text = [f"Hệ thống không tìm thấy tuyến xe **{raw_departure_city}** - **{raw_destination_city}**.\n Quý khách vui lòng thử lại với lộ trình khác hoặc liên hệ Trung tâm tổng đài 1900 6067 để được hỗ trợ."]
|
| 243 |
payload={
|
|
|
|
| 237 |
parameters = {
|
| 238 |
"trip_list": routes_name
|
| 239 |
}
|
| 240 |
+
return DialogFlowResponseAPI(text=text, payload=payload,parameters=parameters)
|
| 241 |
|
| 242 |
text = [f"Hệ thống không tìm thấy tuyến xe **{raw_departure_city}** - **{raw_destination_city}**.\n Quý khách vui lòng thử lại với lộ trình khác hoặc liên hệ Trung tâm tổng đài 1900 6067 để được hỗ trợ."]
|
| 243 |
payload={
|