diff --git a/src/frontend/src/controllers/API/index.ts b/src/frontend/src/controllers/API/index.ts index 6ee4141a0..a8ee9c6e7 100644 --- a/src/frontend/src/controllers/API/index.ts +++ b/src/frontend/src/controllers/API/index.ts @@ -370,7 +370,7 @@ export async function postCustomComponent( export async function postCustomComponentUpdate( code: string, field: string, - field_value: string + field_value: any ): Promise> { return await api.post(`${BASE_URL_API}custom_component/update`, { code,