Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-aurele-besner committed Jul 3, 2024
1 parent 7b1ea0b commit 49fdcbc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions explorer/src/app/api/claim/[...params]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ export const POST = async (req: NextRequest) => {

const session = verifyToken()
await cryptoWaitReady()
console.log('session', session)

const dbSession = await findUserByID(session.id)
console.log('dbSession', dbSession)

if (!dbSession) return NextResponse.json({ error: 'User not found' }, { status: 404 })

Expand Down

0 comments on commit 49fdcbc

Please sign in to comment.