mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 19:58:11 +00:00
user module
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user