temp fix for default fields
This commit is contained in:
parent
9ebc319ea4
commit
bd0e928efe
1 changed files with 3 additions and 0 deletions
|
|
@ -876,15 +876,18 @@ export async function registerGlobalVariable({
|
||||||
name,
|
name,
|
||||||
value,
|
value,
|
||||||
type,
|
type,
|
||||||
|
default_fields=[],
|
||||||
}: {
|
}: {
|
||||||
name: string;
|
name: string;
|
||||||
value: string;
|
value: string;
|
||||||
type?: string;
|
type?: string;
|
||||||
|
default_fields?: string[];
|
||||||
}): Promise<AxiosResponse<{ name: string; id: string; type: string }>> {
|
}): Promise<AxiosResponse<{ name: string; id: string; type: string }>> {
|
||||||
return await api.post(`${BASE_URL_API}variables/`, {
|
return await api.post(`${BASE_URL_API}variables/`, {
|
||||||
name,
|
name,
|
||||||
value,
|
value,
|
||||||
type,
|
type,
|
||||||
|
default_fields:default_fields
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue