4 lines
81 B
TypeScript
4 lines
81 B
TypeScript
export const getUser = (): Promise<any> => {
|
|
return fetch("/api/users/me");
|
|
};
|