Skip to content

Commit

Permalink
Merge pull request #3708 from sanjaikumar-bruno/handle-invalid-auth-i…
Browse files Browse the repository at this point in the history
…n-pm-export

fix: handle unsupported auth mode by returning 'noauth' type
  • Loading branch information
lohit-bruno authored Jan 2, 2025
2 parents 548f958 + 4b277aa commit 42ada4a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/bruno-app/src/utils/exporters/postman-collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,9 @@ export const exportCollection = (collection) => {
};
}
default: {
console.error('Unsupported auth mode:', itemAuth.mode);
return null;
return {
type: 'noauth'
};
}
}
};
Expand Down

0 comments on commit 42ada4a

Please sign in to comment.