fix: remove remaining /api/ double-prefix from template literal API calls

Previous fix missed backtick template strings. Fixed 7 more api.*()
calls in appointments, deadlines, settings, and einstellungen pages.
This commit is contained in:
m
2026-03-25 18:20:35 +01:00
parent 12e0407025
commit e635efa71e
5 changed files with 7 additions and 7 deletions

View File

@@ -22,7 +22,7 @@ export default function EinstellungenPage() {
refetch,
} = useQuery({
queryKey: ["tenant-current", tenantId],
queryFn: () => api.get<Tenant>(`/api/tenants/${tenantId}`),
queryFn: () => api.get<Tenant>(`/tenants/${tenantId}`),
enabled: !!tenantId,
});