OnlyBiggg commited on
Commit
82b30a1
·
1 Parent(s): c506a3f

fix: time text

Browse files
app/dialogflow/api/v1/dialogflow.py CHANGED
@@ -293,7 +293,7 @@ async def time_trip(request: Request) -> Response:
293
  parameters = {
294
  "time_list": time_list
295
  }
296
- text = [f"Quý khách lựa chọn thời gian chuyến {route_name}\n" + " | ".join(map(str, time_list))]
297
  payload={
298
  "richContent": [
299
  [
 
293
  parameters = {
294
  "time_list": time_list
295
  }
296
+ text = [f"Quý khách lựa chọn thời gian chuyến {route_name}\n" + " | ".join([item["time"] for item in time_list])]
297
  payload={
298
  "richContent": [
299
  [