Skip to content

Commit fee631d

Browse files
authored
passing defaults instead of axiosInstance to NTLMClient (#3841)
1 parent d03de2b commit fee631d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/bruno-cli/src/runner/run-single-request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ const runSingleRequest = async function (
255255

256256
let axiosInstance = makeAxiosInstance();
257257
if (request.ntlmConfig) {
258-
axiosInstance=NtlmClient(request.ntlmConfig,axiosInstance)
258+
axiosInstance=NtlmClient(request.ntlmConfig,axiosInstance.defaults)
259259
delete request.ntlmConfig;
260260
}
261261

packages/bruno-electron/src/ipc/network/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ const configureRequest = async (
278278
let axiosInstance = makeAxiosInstance();
279279

280280
if (request.ntlmConfig) {
281-
axiosInstance=NtlmClient(request.ntlmConfig,axiosInstance)
281+
axiosInstance=NtlmClient(request.ntlmConfig,axiosInstance.defaults)
282282
delete request.ntlmConfig;
283283
}
284284

0 commit comments

Comments
 (0)