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

6 lines
108 B
JavaScript
Raw Normal View History

2023-04-23 17:16:53 +02:00
export default defineEventHandler(async (event) => {
2023-05-09 16:01:19 +02:00
const user = await getAuth(event)
2023-04-23 17:16:53 +02:00
2023-05-09 16:01:19 +02:00
return user
2023-04-23 17:16:53 +02:00
});