Skip to content

Commit

Permalink
API key and branch name included in the header
Browse files Browse the repository at this point in the history
  • Loading branch information
antonyagustine committed Apr 24, 2024
1 parent ce0f1a4 commit 061a447
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/contentstack-variants/src/export/variant-entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export default class VariantEntries extends VariantAdapter<VariantHttpClient<Exp
baseURL: config.host,
Adapter: VariantHttpClient<ExportConfig>,
headers: {
api_key: config.apiKey,
branch: config.branchName,
authtoken: config.auth_token,
organization_uid: config.org_uid,
'X-Project-Uid': config.project_id,
Expand Down

0 comments on commit 061a447

Please sign in to comment.