Skip to content

Commit

Permalink
Checked.
Browse files Browse the repository at this point in the history
  • Loading branch information
sysang committed Aug 16, 2022
1 parent 7c678e0 commit 7c429e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion botserver-action/booking_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ async def search_rooms(
order_by=bkinfo_orderby,
currency=max_price.unit,
)
hotels = hotels['result']
hotels = hotels.get('result', [])
logger.info('[INFO] request_to_search_hotel, found %s results.', len(hotels))

if bkinfo_orderby == SortbyDictionary.SORTBY_REVIEW_SCORE:
Expand Down

0 comments on commit 7c429e8

Please sign in to comment.