Files
frontend/apps/dc/src/shared/api/index.ts
T
2025-10-17 11:52:42 +09:00

10 lines
286 B
TypeScript

import { client, dcClient } from "./client";
import { ENDPOINT } from "../config/api";
export async function getUserByUnqId(userUnqId: string) {
const res = await client.get(`${ENDPOINT.USER_SERVICE.USERS}/${userUnqId}`);
return res.data;
}
export { client };
export { dcClient };