Skip to content

Commit

Permalink
fix: provide app token on calls to b2b-organizations-graphql app (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matheus-Aguilar authored Sep 5, 2024
1 parent 083b6ce commit 9f35f9a
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.12.0] - 2024-09-04

### Added
Expand Down
2 changes: 1 addition & 1 deletion node/clients/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class Clients extends IOClients {
}

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 9f35f9a

Please sign in to comment.