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:
@@ -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}>>([]);
|
||||
|
Reference in New Issue
Block a user