Spaces:
Sleeping
Sleeping
OnlyBiggg
commited on
Commit
·
f3e0ec9
1
Parent(s):
6d362ae
fix
Browse files
app/dialogflow/api/v1/dialogflow.py
CHANGED
|
@@ -26,7 +26,7 @@ async def search_origin_office(request: Request):
|
|
| 26 |
|
| 27 |
departure_city = None
|
| 28 |
if origin_office and raw_departure_city is None:
|
| 29 |
-
departure_city = dialog_service.get_origin_city_from_office(origin_office)
|
| 30 |
|
| 31 |
parameters = {
|
| 32 |
"departure_city": departure_city
|
|
@@ -44,7 +44,7 @@ async def search_destination_office(request: Request):
|
|
| 44 |
|
| 45 |
destination_city = None
|
| 46 |
if dest_office and raw_destination_city is None:
|
| 47 |
-
destination_city = dialog_service.get_destination_city_from_office(dest_office)
|
| 48 |
|
| 49 |
parameters = {
|
| 50 |
"destination_city": destination_city
|
|
|
|
| 26 |
|
| 27 |
departure_city = None
|
| 28 |
if origin_office and raw_departure_city is None:
|
| 29 |
+
departure_city = await dialog_service.get_origin_city_from_office(origin_office)
|
| 30 |
|
| 31 |
parameters = {
|
| 32 |
"departure_city": departure_city
|
|
|
|
| 44 |
|
| 45 |
destination_city = None
|
| 46 |
if dest_office and raw_destination_city is None:
|
| 47 |
+
destination_city = await dialog_service.get_destination_city_from_office(dest_office)
|
| 48 |
|
| 49 |
parameters = {
|
| 50 |
"destination_city": destination_city
|