mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-02-01 01:20:57 -05:00
7 lines
190 B
TypeScript
7 lines
190 B
TypeScript
import { type APIHandler } from './helpers/endpoint'
|
|
import { getUser } from 'api/get-user'
|
|
|
|
export const getMe: APIHandler<'me'> = async (_, auth) => {
|
|
return getUser({ id: auth.uid })
|
|
}
|