diff --git a/connector_pms_wubook/models/pms_folio/adapter.py b/connector_pms_wubook/models/pms_folio/adapter.py index cbd9eeba584..416e55d59a9 100644 --- a/connector_pms_wubook/models/pms_folio/adapter.py +++ b/connector_pms_wubook/models/pms_folio/adapter.py @@ -264,7 +264,7 @@ def _reorg_folio_data(self, values): board = boards_d.get(room_id) elif id_channel == 2: # Board services can be included in the rate plan and detected by the WuBook API - detected_board = room.get("ancillary", {}).get("Detected Board") + detected_board = value.get("ancillary", {}).get("Detected Board") board = detected_board != "nb" and detected_board or None else: raise ValidationError(