Polarcraft/web/server/api/auth/user/index.js

6 lines
108 B
JavaScript

export default defineEventHandler(async (event) => {
const user = await getAuth(event)
return user
});