2023-06-05 10:17:35 +02:00
|
|
|
export default defineEventHandler(async (event) => {
|
|
|
|
const userId: string = event.context.params ? event.context.params.id : '@me'
|
|
|
|
|
2023-06-05 22:41:48 +02:00
|
|
|
return await getUser(userId, event)
|
2023-06-01 22:06:11 +02:00
|
|
|
})
|