Skip to content

Commit

Permalink
fix: remove nullish returning null
Browse files Browse the repository at this point in the history
  • Loading branch information
Matheus-Aguilar committed Jun 3, 2024
1 parent 4420cc1 commit 88f9274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/clients/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import VtexId from './vtexId'

export const getTokenToHeader = (ctx: IOContext) => {
const adminToken = ctx.adminUserAuthToken ?? ctx.authToken
const userToken = ctx.storeUserAuthToken ?? null
const userToken = ctx.storeUserAuthToken
const { sessionToken, account } = ctx

let allCookies = `VtexIdclientAutCookie=${adminToken}`
Expand Down

0 comments on commit 88f9274

Please sign in to comment.