mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-25 01:51:37 -04:00
* Test * Add pretty formatting * Fix Tests * Fix Tests * Fix Tests * Fix * Add pretty formatting fix * Fix * Test * Fix tests * Clean typeckech * Add prettier check * Fix api tsconfig * Fix api tsconfig * Fix tsconfig * Fix * Fix * Prettier
8 lines
185 B
TypeScript
8 lines
185 B
TypeScript
import {getUser} from 'api/get-user'
|
|
|
|
import {type APIHandler} from './helpers/endpoint'
|
|
|
|
export const getMe: APIHandler<'me'> = async (_, auth) => {
|
|
return getUser({id: auth.uid})
|
|
}
|