@nsshunt/stsfhirclient 1.1.7 → 1.1.8
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.
|
@@ -5427,7 +5427,7 @@
|
|
|
5427
5427
|
};
|
|
5428
5428
|
#InvokeResourceAPI = async (url2, httpVerb, domainResource, filters) => {
|
|
5429
5429
|
const accessToken = await this.#options.GetAccessToken();
|
|
5430
|
-
const requestConfig = new stsutils.STSAxiosConfig(url2, httpVerb).withAuthHeaders(accessToken, this.#DUMMY_USER).withData(filters ? filters : domainResource ? domainResource : void 0);
|
|
5430
|
+
const requestConfig = new stsutils.STSAxiosConfig(url2, httpVerb).withDefaultHeaders().withAuthHeaders(accessToken, this.#DUMMY_USER).withData(filters ? filters : domainResource ? domainResource : void 0);
|
|
5431
5431
|
if (isNode$1 && this.#options.agentManager) {
|
|
5432
5432
|
requestConfig.withAgentManager(this.#options.agentManager);
|
|
5433
5433
|
}
|