diff --git a/src/frontend/src/controllers/API/index.ts b/src/frontend/src/controllers/API/index.ts index 920335a97..8c5cc6892 100644 --- a/src/frontend/src/controllers/API/index.ts +++ b/src/frontend/src/controllers/API/index.ts @@ -876,15 +876,18 @@ export async function registerGlobalVariable({ name, value, type, + default_fields=[], }: { name: string; value: string; type?: string; + default_fields?: string[]; }): Promise> { return await api.post(`${BASE_URL_API}variables/`, { name, value, type, + default_fields:default_fields }); }