user module

This commit is contained in:
yaschalew
2026-06-27 08:11:06 +03:00
parent f21d7ec523
commit 2373e0b8a4
10 changed files with 21 additions and 19 deletions

View File

@@ -18,6 +18,6 @@ export const verifyMfaRequest = async (payload: {
};
export const getMeRequest = async () => {
const response = await api.get<AuthUser>("/me");
const response = await api.get<AuthUser>("/auth/me");
return response.data;
};

View File

@@ -1,3 +1,4 @@
export const API_BASE_URL = 'https://edrfreightapi.triaplc.com';
// export const API_BASE_URL = 'https://fhcdev-backend.triaplc.com';
//export const API_BASE_URL = 'http://localhost:3001';

View File

@@ -92,6 +92,6 @@ export const vehiclesConfig: FleetResourceConfig = {
};
export { VEHICLE_TYPE_OPTIONS, FUEL_TYPE_OPTIONS, VEHICLE_STATUS_OPTIONS };
// export const API_BASE_URL = 'https://edrfreightapi.triaplc.com';
export const API_BASE_URL = 'https://edrfreightapi.triaplc.com';
export const API_BASE_URL = 'http://localhost:3001';
// export const API_BASE_URL = 'https://fhcdev-backend.triaplc.com';