6 lines
175 B
TypeScript
6 lines
175 B
TypeScript
export default defineEventHandler(async (event) => {
|
|
const userId: string = event.context.params ? event.context.params.id : '@me'
|
|
|
|
return await getUser(userId, event)
|
|
})
|