From 4598acd0687427870ae672ad0285e280ee1ede8c Mon Sep 17 00:00:00 2001 From: Pooja Belaramani Date: Thu, 30 Jan 2025 13:03:13 +0530 Subject: [PATCH] fix --- packages/bruno-app/src/utils/importers/postman-collection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bruno-app/src/utils/importers/postman-collection.js b/packages/bruno-app/src/utils/importers/postman-collection.js index eea9b0d55..89ab15c7e 100644 --- a/packages/bruno-app/src/utils/importers/postman-collection.js +++ b/packages/bruno-app/src/utils/importers/postman-collection.js @@ -422,7 +422,7 @@ const importPostmanV2CollectionItem = (brunoParent, item, parentAuth, options) = brunoRequestItem.request.auth.mode = 'apikey'; brunoRequestItem.request.auth.apikey = { key: authValues.key, - value: authValues.value.toString(), // Convert the value to a string as Postman's schema does not rigidly define the type of it, + value: authValues.value?.toString(), // Convert the value to a string as Postman's schema does not rigidly define the type of it, placement: "header" //By default we are placing the apikey values in headers! } }