Add postCustomComponentUpdate API function
This commit is contained in:
parent
11eeaa6bfc
commit
51397dbbe2
1 changed files with 10 additions and 0 deletions
|
|
@ -360,6 +360,16 @@ export async function postCustomComponent(
|
|||
return await api.post(`${BASE_URL_API}custom_component`, { code });
|
||||
}
|
||||
|
||||
export async function postCustomComponentUpdate(
|
||||
code: string,
|
||||
field: string
|
||||
): Promise<AxiosResponse<APIClassType>> {
|
||||
return await api.post(`${BASE_URL_API}custom_component/update`, {
|
||||
code,
|
||||
field,
|
||||
});
|
||||
}
|
||||
|
||||
export async function onLogin(user: LoginType) {
|
||||
try {
|
||||
const response = await api.post(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue