Skip to content

Commit f4d1b47

Browse files
committed
🐛 yellowstone availability response empty
closes #344
1 parent 310fbe6 commit f4d1b47

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

camply/providers/xanterra/yellowstone_lodging.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ def _get_monthly_availability(
6363
all_resort_availability_data = self.make_yellowstone_request(
6464
endpoint=api_endpoint, params=query_dict
6565
)
66+
if not all_resort_availability_data.get(YellowstoneConfig.BOOKING_AVAILABILITY):
67+
all_resort_availability_data[YellowstoneConfig.BOOKING_AVAILABILITY] = {}
6668
return all_resort_availability_data
6769

6870
@staticmethod

0 commit comments

Comments
 (0)