Skip to content

Commit

Permalink
passing defaults instead of axiosInstance to NTLMClient (#3841)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlaloc911 authored Jan 18, 2025
1 parent d03de2b commit fee631d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/bruno-cli/src/runner/run-single-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ const runSingleRequest = async function (

let axiosInstance = makeAxiosInstance();
if (request.ntlmConfig) {
axiosInstance=NtlmClient(request.ntlmConfig,axiosInstance)
axiosInstance=NtlmClient(request.ntlmConfig,axiosInstance.defaults)
delete request.ntlmConfig;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/bruno-electron/src/ipc/network/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ const configureRequest = async (
let axiosInstance = makeAxiosInstance();

if (request.ntlmConfig) {
axiosInstance=NtlmClient(request.ntlmConfig,axiosInstance)
axiosInstance=NtlmClient(request.ntlmConfig,axiosInstance.defaults)
delete request.ntlmConfig;
}

Expand Down

0 comments on commit fee631d

Please sign in to comment.