Fix Settings sync endpoint: refresh-all -> refresh-rates

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-05 12:42:14 +00:00
parent d94b8feee6
commit c78c6e78e1

View file

@ -31,7 +31,7 @@ export default function Settings() {
})
const syncNow = useMutation({
mutationFn: () => api.post('/bookability/refresh-all'),
mutationFn: () => api.post('/bookability/refresh-rates'),
onSuccess: () => qc.invalidateQueries({ queryKey: ['system-config'] }),
})