From 201f218c23bcd2a27393fe02e7edef7117614202 Mon Sep 17 00:00:00 2001 From: Jonas Linter Date: Mon, 6 Oct 2025 15:13:56 +0200 Subject: [PATCH] Really ensuring res_id isn't "" --- src/alpine_bits_python/alpine_bits_helpers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/alpine_bits_python/alpine_bits_helpers.py b/src/alpine_bits_python/alpine_bits_helpers.py index e09cadd..15fe78b 100644 --- a/src/alpine_bits_python/alpine_bits_helpers.py +++ b/src/alpine_bits_python/alpine_bits_helpers.py @@ -800,9 +800,6 @@ def _process_single_reservation(reservation: Reservation, customer: Customer, me klick_id = str(klick_id) - - - utm_medium = ( str(reservation.utm_medium) if reservation.utm_medium is not None and str(reservation.utm_medium) != "" @@ -813,6 +810,9 @@ def _process_single_reservation(reservation: Reservation, customer: Customer, me if klick_id is not None and len(klick_id) > 64: klick_id = klick_id[:64] + if klick_id is "": + klick_id = None + hotel_res_id_data = HotelReservationIdData( res_id_type="13", res_id_value=klick_id,