2024-12-14 12:32:32 +03:00

12 lines
257 B
TypeScript

import { network } from '../network';
import { GetListResponse } from './types';
class ListService {
async getList() {
const res = await network.get<GetListResponse>('/list');
return res.data;
}
}
export const listService = new ListService();