From eb388d98da69f76081b374eef5ee067ba3faea1f Mon Sep 17 00:00:00 2001 From: Antony Date: Wed, 24 Apr 2024 21:50:05 +0530 Subject: [PATCH] Fix: Headers added --- .../contentstack-variants/src/import/variant-entries.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/contentstack-variants/src/import/variant-entries.ts b/packages/contentstack-variants/src/import/variant-entries.ts index ed6f042541..83b4d20ea4 100644 --- a/packages/contentstack-variants/src/import/variant-entries.ts +++ b/packages/contentstack-variants/src/import/variant-entries.ts @@ -43,6 +43,13 @@ export default class VariantEntries extends VariantAdapter, + headers: { + api_key: config.apiKey, + branch: config.branchName, + authtoken: config.auth_token, + organization_uid: config.org_uid, + 'X-Project-Uid': config.modules.personalization.project_id, + }, }; super(Object.assign(omit(config, ['helpers']), conf)); this.entriesMapperPath = resolve(config.backupDir, 'mapper', 'entries');