Update field_value type to any in postCustomComponentUpdate function

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-03-06 11:10:49 -03:00
commit bcd230f86f

View file

@ -370,7 +370,7 @@ export async function postCustomComponent(
export async function postCustomComponentUpdate( export async function postCustomComponentUpdate(
code: string, code: string,
field: string, field: string,
field_value: string field_value: any
): Promise<AxiosResponse<APIClassType>> { ): Promise<AxiosResponse<APIClassType>> {
return await api.post(`${BASE_URL_API}custom_component/update`, { return await api.post(`${BASE_URL_API}custom_component/update`, {
code, code,