From 062ab00a665ea0ab83ec5e140bf46613b50601b6 Mon Sep 17 00:00:00 2001 From: Pooja Belaramani Date: Thu, 30 Jan 2025 10:12:36 +0530 Subject: [PATCH] fix: ensure API key values are converted to strings in Postman collection importer. --- 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 b5a685e71..eea9b0d55 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, + 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! } }