Skip to content

Commit

Permalink
Fix: CLI Test Runner ignores auth:"inherit" in requests (usebruno#2206)
Browse files Browse the repository at this point in the history
usebruno#1667 - None means None, but inherit means inherit
  • Loading branch information
pietrygamat committed May 5, 2024
1 parent 392cc80 commit d7eb240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bruno-cli/src/runner/prepare-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const prepareRequest = (request, collectionRoot) => {
};

const collectionAuth = get(collectionRoot, 'request.auth');
if (collectionAuth && request.auth.mode === 'none') {
if (collectionAuth && request.auth.mode === 'inherit') {
if (collectionAuth.mode === 'basic') {
axiosRequest.auth = {
username: get(collectionAuth, 'basic.username'),
Expand Down

0 comments on commit d7eb240

Please sign in to comment.