File "getContragentInfo.ts"
Full Path: /var/www/html/gitep_front/src/entities/models/api/getContragentInfo.ts
File size: 363 bytes
MIME-type: text/x-java
Charset: utf-8
import { $modelStore } from '@shared/index';
import { axiosInstance } from "@shared/api";
export const getContragentInfo = async (modelId:number, id:number) => {
try {
const result = await axiosInstance.get(`contragents/${modelId}/${id}`);
return result?.data
} catch (error) {
console.error('getCassaList error', error)
}
}