10 lines
286 B
TypeScript
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 }; |