Skip to content

Commit

Permalink
🐛 yellowstone availability response empty
Browse files Browse the repository at this point in the history
closes #344
  • Loading branch information
juftin committed May 1, 2024
1 parent 310fbe6 commit f4d1b47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions camply/providers/xanterra/yellowstone_lodging.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ def _get_monthly_availability(
all_resort_availability_data = self.make_yellowstone_request(
endpoint=api_endpoint, params=query_dict
)
if not all_resort_availability_data.get(YellowstoneConfig.BOOKING_AVAILABILITY):
all_resort_availability_data[YellowstoneConfig.BOOKING_AVAILABILITY] = {}
return all_resort_availability_data

@staticmethod
Expand Down

0 comments on commit f4d1b47

Please sign in to comment.