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

6 lines
108 B
JavaScript

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