From e9378d78958f9c09dec32fed2db39a42d3a52d85 Mon Sep 17 00:00:00 2001 From: Sanjai Kumar Date: Mon, 30 Dec 2024 11:04:41 +0530 Subject: [PATCH] fix: handle unsupported auth mode by returning 'noauth' type --- packages/bruno-app/src/utils/exporters/postman-collection.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/bruno-app/src/utils/exporters/postman-collection.js b/packages/bruno-app/src/utils/exporters/postman-collection.js index 9511ffce08..7bcd229c15 100644 --- a/packages/bruno-app/src/utils/exporters/postman-collection.js +++ b/packages/bruno-app/src/utils/exporters/postman-collection.js @@ -291,8 +291,9 @@ export const exportCollection = (collection) => { }; } default: { - console.error('Unsupported auth mode:', itemAuth.mode); - return null; + return { + type: 'noauth' + }; } } };