From bd0e928efe726c2da6ca292ba400aa32695bdaea Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Tue, 30 Apr 2024 08:22:32 -0300 Subject: [PATCH] temp fix for default fields --- src/frontend/src/controllers/API/index.ts | 3 +++ 1 file changed, 3 insertions(+) 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 }); }