Skip to content

Commit

Permalink
fix: provide app token on calls to b2b-organizations-graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
Matheus-Aguilar committed Sep 4, 2024
1 parent 38cded5 commit 27a7ed7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Fixed
- Provide app token on calls to b2b-organizations-graphql app

## [1.44.4] - 2024-09-03

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion node/clients/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Schema } from './schema'
import VtexId from './vtexId'

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

Expand Down

0 comments on commit 27a7ed7

Please sign in to comment.