apilar ulandi

This commit is contained in:
Samandar Turgunboyev
2025-12-02 19:31:37 +05:00
parent 40036322cb
commit f7dbb665a0
56 changed files with 3235 additions and 1189 deletions

View File

@@ -1,5 +1,5 @@
import httpClient from "@/shared/config/api/httpClient";
import { LOGIN } from "@/shared/config/api/URLs";
import { API_URLS } from "@/shared/config/api/URLs";
import type { AxiosResponse } from "axios";
interface LoginRes {
@@ -16,7 +16,7 @@ export const auth_pai = {
username: string;
password: string;
}): Promise<AxiosResponse<LoginRes>> {
const res = await httpClient.post(LOGIN, body);
const res = await httpClient.post(API_URLS.LOGIN, body);
return res;
},
};