From e2767a922c631507c9da5f968ceb404b12dc6ab9 Mon Sep 17 00:00:00 2001 From: makearmy Date: Sun, 28 Sep 2025 21:05:25 -0400 Subject: [PATCH] submit 'type' fixes --- app/components/forms/SettingsSubmit.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/forms/SettingsSubmit.tsx b/app/components/forms/SettingsSubmit.tsx index 88cabf62..a0d754b2 100644 --- a/app/components/forms/SettingsSubmit.tsx +++ b/app/components/forms/SettingsSubmit.tsx @@ -112,7 +112,7 @@ function useOptions(path: string) { const group = params.get("group") || ""; const field = params.get("field") || ""; - const fieldsUrl = `${API}/fields/${encodeURIComponent(target)}?fields=collection,field,meta`; + const fieldsUrl = `${API}/fields/${encodeURIComponent(target)}`; const metaRes = await fetch(fieldsUrl, { cache: "no-store", credentials: "include" }); if (!metaRes.ok) throw new Error(`Directus ${metaRes.status} fetching ${fieldsUrl}`); const metaJson = await metaRes.json();