fix: Feature-Flag für Multi-Treatment-Verfügbarkeit aktivieren

Das Feature-Flag USE_MULTI_TREATMENTS_AVAILABILITY war noch auf false,
wodurch das Formular die alte treatmentId statt treatmentIds[] API verwendete.
Dies verhinderte das Laden verfügbarer Uhrzeiten.
This commit is contained in:
2025-10-09 08:05:59 +02:00
parent ce019a2bd9
commit 12da9812df

View File

@@ -3,7 +3,7 @@ import { useMutation, useQuery } from "@tanstack/react-query";
import { queryClient } from "@/client/rpc-client";
// Feature flag for multi-treatments availability API compatibility
const USE_MULTI_TREATMENTS_AVAILABILITY = false;
const USE_MULTI_TREATMENTS_AVAILABILITY = true;
export function BookingForm() {
const [selectedTreatments, setSelectedTreatments] = useState<Array<{id: string, name: string, duration: number, price: number}>>([]);