Skip to content

Commit

Permalink
test(prod) ctx
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiago-Mota-Santos committed Oct 17, 2023
1 parent dc74c13 commit 31aec83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/server/src/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const getUser = async (

try {
if (!token) return { user: null }
const subToken = token.replace('JWT%20', '').trim()
const subToken = token.replace('JWT%20', '')
const decodedToken = jwt.verify(subToken, JWT_KEY)

const decodedId = decodedToken as { id: string }
Expand Down

2 comments on commit 31aec83

@vercel
Copy link

@vercel vercel bot commented on 31aec83 Oct 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 31aec83 Oct 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

api-relay – ./apps/server

api-relay.vercel.app
api-relay-thiago-mota-santos.vercel.app
api-relay-git-main-thiago-mota-santos.vercel.app

Please sign in to comment.