diff --git a/frontend/src/hooks/useApi.ts b/frontend/src/hooks/useApi.ts index 76f673c..525e557 100644 --- a/frontend/src/hooks/useApi.ts +++ b/frontend/src/hooks/useApi.ts @@ -322,7 +322,7 @@ export const useCycleHistory = (limit = 20) => export const useUpdateCycleConfig = () => { const qc = useQueryClient() return useMutation({ - mutationFn: (cfg: { enabled?: boolean; interval_hours?: number; similarity_threshold?: number; min_ev_threshold?: number; min_score_threshold?: number }) => + mutationFn: (cfg: { enabled?: boolean; interval_hours?: number; similarity_threshold?: number; min_ev_threshold?: number; min_score_threshold?: number; journal_retention_days?: number; maturity_threshold_pct?: number }) => api.post('/cycle/config', cfg).then(r => r.data), onSuccess: () => qc.invalidateQueries({ queryKey: ['cycle-status'] }), })