mirror of
https://github.com/usebruno/bruno.git
synced 2025-02-15 01:10:14 +01:00
passing defaults instead of axiosInstance to NTLMClient (#3841)
This commit is contained in:
parent
d03de2b622
commit
fee631d496
@ -255,7 +255,7 @@ const runSingleRequest = async function (
|
|||||||
|
|
||||||
let axiosInstance = makeAxiosInstance();
|
let axiosInstance = makeAxiosInstance();
|
||||||
if (request.ntlmConfig) {
|
if (request.ntlmConfig) {
|
||||||
axiosInstance=NtlmClient(request.ntlmConfig,axiosInstance)
|
axiosInstance=NtlmClient(request.ntlmConfig,axiosInstance.defaults)
|
||||||
delete request.ntlmConfig;
|
delete request.ntlmConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -278,7 +278,7 @@ const configureRequest = async (
|
|||||||
let axiosInstance = makeAxiosInstance();
|
let axiosInstance = makeAxiosInstance();
|
||||||
|
|
||||||
if (request.ntlmConfig) {
|
if (request.ntlmConfig) {
|
||||||
axiosInstance=NtlmClient(request.ntlmConfig,axiosInstance)
|
axiosInstance=NtlmClient(request.ntlmConfig,axiosInstance.defaults)
|
||||||
delete request.ntlmConfig;
|
delete request.ntlmConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user