@nsshunt/stsrunnerframework 1.0.48 → 1.0.49
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.
|
@@ -7533,7 +7533,10 @@ class AxiosClient {
|
|
|
7533
7533
|
} else {
|
|
7534
7534
|
accessToken = await __privateGet$1(this, _options).GetAccessToken();
|
|
7535
7535
|
}
|
|
7536
|
-
|
|
7536
|
+
let requestConfig = new STSAxiosConfig(url, httpVerb).withAuthHeaders(accessToken, __privateGet$1(this, _DUMMY_USER));
|
|
7537
|
+
if (!(httpVerb.localeCompare("get") === 0 || httpVerb.localeCompare("head") === 0)) {
|
|
7538
|
+
requestConfig.withData(filters ? filters : resource ? resource : void 0);
|
|
7539
|
+
}
|
|
7537
7540
|
if (isNode && __privateGet$1(this, _options).agentManager) {
|
|
7538
7541
|
requestConfig.withAgentManager(__privateGet$1(this, _options).agentManager);
|
|
7539
7542
|
}
|