Add: - service/api-client/ : api route setting - service/api-config.ts : api base url Profil & User Fix: - auth logic - crate profile ### No Issue
9 lines
199 B
TypeScript
9 lines
199 B
TypeScript
import { apiConfig } from "../api-config";
|
|
|
|
export async function apiCreateProfile(data: any) {
|
|
const response = await apiConfig.post(`/mobile/profile`, {
|
|
data: data,
|
|
});
|
|
return response;
|
|
}
|