@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.
|
@@ -7522,7 +7522,10 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7522
7522
|
} else {
|
|
7523
7523
|
accessToken = await __privateGet$1(this, _options).GetAccessToken();
|
|
7524
7524
|
}
|
|
7525
|
-
|
|
7525
|
+
let requestConfig = new stsutils.STSAxiosConfig(url, httpVerb).withAuthHeaders(accessToken, __privateGet$1(this, _DUMMY_USER));
|
|
7526
|
+
if (!(httpVerb.localeCompare("get") === 0 || httpVerb.localeCompare("head") === 0)) {
|
|
7527
|
+
requestConfig.withData(filters ? filters : resource ? resource : void 0);
|
|
7528
|
+
}
|
|
7526
7529
|
if (isNode && __privateGet$1(this, _options).agentManager) {
|
|
7527
7530
|
requestConfig.withAgentManager(__privateGet$1(this, _options).agentManager);
|
|
7528
7531
|
}
|