snyk 1.1084.0 → 1.1085.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4448,7 +4448,7 @@ async function getCodeAnalysis(root, options, sastSettings, requestId) {
4448
4448
  environmentVariableNamespace: '',
4449
4449
  });
4450
4450
  }
4451
- const sessionToken = api_token_1.api() || '';
4451
+ const sessionToken = api_token_1.getAuthHeader();
4452
4452
  const severity = options.severityThreshold
4453
4453
  ? severityToAnalysisSeverity(options.severityThreshold)
4454
4454
  : code_client_1.AnalysisSeverity.info;