10 lines
301 B
TypeScript
10 lines
301 B
TypeScript
import type { UserProfileResponse } from "@paperclipai/shared";
|
|
import { api } from "./client";
|
|
|
|
export const userProfilesApi = {
|
|
get: (companyId: string, userSlug: string) =>
|
|
api.get<UserProfileResponse>(
|
|
`/companies/${companyId}/users/${encodeURIComponent(userSlug)}/profile`,
|
|
),
|
|
};
|