Files
gastro-bot/src/features/auth/lib/api.ts
Samandar Turgunboyev 9978b4e3fe api ulandi
2025-12-22 11:35:55 +05:00

10 lines
300 B
TypeScript

import httpClient from '@/shared/config/api/httpClient';
import { API_URLS } from '@/shared/config/api/URLs';
export const auth_api = {
async login(body: { username: string; password: string; tg_id?: string }) {
const res = await httpClient.post(API_URLS.Login, body);
return res;
},
};