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

@@ -68,7 +68,7 @@ export function CalDAVSettings({ tenant }: { tenant: Tenant }) {
typeof window !== "undefined"
? localStorage.getItem("kanzlai_tenant_id")
: null;
return api.put<Tenant>(`/api/tenants/${tenantId}/settings`, {
return api.put<Tenant>(`/tenants/${tenantId}/settings`, {
caldav: cfg,
});
},