File "updateAccountDetail.ts"
Full Path: /var/www/html/gitep_front/src/entities/models/api/updateAccountDetail.ts
File size: 363 bytes
MIME-type: text/x-java
Charset: utf-8
import { axiosInstance } from "@/shared";
export const updateAccountDetail = async (modelId: number, accountId: any, formData: any) => {
try {
const result = await axiosInstance.post(`account/extended/${modelId}/${accountId}`, formData);
return result;
} catch (error) {
console.error("updateAccountDetail error:", error);
throw error;
}
};