@nsshunt/stsrest01client 1.0.26 → 1.0.28
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.
|
@@ -3674,7 +3674,7 @@
|
|
|
3674
3674
|
} else {
|
|
3675
3675
|
accessToken = await this.#options.GetAccessToken();
|
|
3676
3676
|
}
|
|
3677
|
-
let requestConfig = new stsutils.STSAxiosConfig(url, httpVerb).withAuthHeaders(accessToken, this.#DUMMY_USER);
|
|
3677
|
+
let requestConfig = new stsutils.STSAxiosConfig(url, httpVerb).withDefaultHeaders().withAuthHeaders(accessToken, this.#DUMMY_USER);
|
|
3678
3678
|
if (!(httpVerb.localeCompare("get") === 0 || httpVerb.localeCompare("head") === 0)) {
|
|
3679
3679
|
requestConfig.withData(filters ? filters : resource ? resource : void 0);
|
|
3680
3680
|
}
|