Skip to content

Commit

Permalink
Use adminUserAuthToken on the checkout client
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffersontuc committed Sep 22, 2020
1 parent 817872e commit 4df256f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions node/clients/checkout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ export class Checkout extends JanusClient {
...(ctx.storeUserAuthToken
? { VtexIdclientAutCookie: ctx.storeUserAuthToken }
: null),
...ctx.adminUserAuthToken
? { VtexIdClientAutCookie: ctx.adminUserAuthToken }
: null,
},
})
}
Expand Down

0 comments on commit 4df256f

Please sign in to comment.