OnlyBiggg commited on
Commit
ee9c681
·
1 Parent(s): 9069755
Files changed (1) hide show
  1. app/api/routes.py +1 -1
app/api/routes.py CHANGED
@@ -341,7 +341,7 @@ async def time_trip(request: Request) -> Response:
341
  }
342
  ]
343
  }
344
- return DialogFlowResponseAPI(text=text, payload=payload, parameters=parameters)
345
  except Exception as e:
346
  print(e)
347
  return DialogFlowResponseAPI(text=["Hệ thống xảy ra lỗi. Quý khách vui lòng thử lại sau hoặc liên hệ Trung tâm tổng đài 1900 6067 để được hỗ trợ."])
 
341
  }
342
  ]
343
  }
344
+ return DialogFlowResponseAPI(text=text, parameters=parameters)
345
  except Exception as e:
346
  print(e)
347
  return DialogFlowResponseAPI(text=["Hệ thống xảy ra lỗi. Quý khách vui lòng thử lại sau hoặc liên hệ Trung tâm tổng đài 1900 6067 để được hỗ trợ."])