Skip to content

Commit

Permalink
typo where to get the tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
Plopix committed Aug 31, 2023
1 parent 20aa194 commit 6da5976
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-drinks-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@crystallize/import-utilities': patch
---

typo where to get the token
8 changes: 4 additions & 4 deletions src/bootstrap-tenant/bootstrapper/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ export class Bootstrapper extends EventEmitter {
logLevel: this.config.logLevel,
})
this.catalogueAPIManager.CRYSTALLIZE_STATIC_AUTH_TOKEN = tenant.staticAuthToken
this.catalogueAPIManager.CRYSTALLIZE_ACCESS_TOKEN_ID = tenant.accessTokenId
this.catalogueAPIManager.CRYSTALLIZE_ACCESS_TOKEN_SECRET = tenant.accessTokenSecret
this.catalogueAPIManager.CRYSTALLIZE_ACCESS_TOKEN_ID = `${this.PIMAPIManager?.CRYSTALLIZE_ACCESS_TOKEN_ID}`
this.catalogueAPIManager.CRYSTALLIZE_ACCESS_TOKEN_SECRET = `${this.PIMAPIManager?.CRYSTALLIZE_ACCESS_TOKEN_SECRET}`
this.context.callCatalogue = this.catalogueAPIManager.push

// Search
Expand All @@ -341,8 +341,8 @@ export class Bootstrapper extends EventEmitter {
logLevel: this.config.logLevel,
})
this.searchAPIManager.CRYSTALLIZE_STATIC_AUTH_TOKEN = tenant.staticAuthToken
this.searchAPIManager.CRYSTALLIZE_ACCESS_TOKEN_ID = tenant.accessTokenId
this.searchAPIManager.CRYSTALLIZE_ACCESS_TOKEN_SECRET = tenant.accessTokenSecret
this.searchAPIManager.CRYSTALLIZE_ACCESS_TOKEN_ID = `${this.PIMAPIManager?.CRYSTALLIZE_ACCESS_TOKEN_ID}`
this.searchAPIManager.CRYSTALLIZE_ACCESS_TOKEN_SECRET = `${this.PIMAPIManager?.CRYSTALLIZE_ACCESS_TOKEN_SECRET}`
this.context.callSearch = this.searchAPIManager.push

// Orders
Expand Down

0 comments on commit 6da5976

Please sign in to comment.