Skip to content

Commit

Permalink
chore: add api test route
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Feb 16, 2024
1 parent fdaa88c commit 9aed7fe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions playground/server/api/test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default eventHandler(async (event) => {
const session = await requireUserSession(event)

Check warning on line 2 in playground/server/api/test.ts

View workflow job for this annotation

GitHub Actions / lint

'session' is assigned a value but never used

// console.log(session.user.auth0)
return {}
})

0 comments on commit 9aed7fe

Please sign in to comment.