Fix Settings sync endpoint: refresh-all -> refresh-rates
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d94b8feee6
commit
c78c6e78e1
1 changed files with 1 additions and 1 deletions
|
|
@ -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'] }),
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue