apilar ulandi
This commit is contained in:
@@ -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;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user