Skip to content

Commit

Permalink
added header check in managment sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
shafeeqd959 committed Dec 5, 2023
1 parent 4a4cb0a commit ab4c5e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class ManagementSDKInitiator {
}

const earlyAccessHeaders = configStore.get(`earlyAccessHeaders`);
if (Object.keys(earlyAccessHeaders).length > 0) {
if (earlyAccessHeaders && Object.keys(earlyAccessHeaders).length > 0) {
option.early_access = Object.values(earlyAccessHeaders);
}

Expand Down

0 comments on commit ab4c5e7

Please sign in to comment.