temp fix for default fields

This commit is contained in:
anovazzi1 2024-04-30 08:22:32 -03:00
commit bd0e928efe

View file

@ -876,15 +876,18 @@ export async function registerGlobalVariable({
name,
value,
type,
default_fields=[],
}: {
name: string;
value: string;
type?: string;
default_fields?: string[];
}): Promise<AxiosResponse<{ name: string; id: string; type: string }>> {
return await api.post(`${BASE_URL_API}variables/`, {
name,
value,
type,
default_fields:default_fields
});
}