From c7e453455bb528834b3de5b1c98c0ceaae5c1588 Mon Sep 17 00:00:00 2001 From: Aaron Fort Garcia Date: Fri, 19 Dec 2025 12:41:22 +0100 Subject: [PATCH] fix(common): resolve Postman API key authorization header import mapping (#5701) --- .../src/helpers/import-export/import/postman.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hoppscotch-common/src/helpers/import-export/import/postman.ts b/packages/hoppscotch-common/src/helpers/import-export/import/postman.ts index 0f277c67..1fbac662 100644 --- a/packages/hoppscotch-common/src/helpers/import-export/import/postman.ts +++ b/packages/hoppscotch-common/src/helpers/import-export/import/postman.ts @@ -299,7 +299,7 @@ const getHoppReqAuth = ( getVariableValue(auth.apikey, "value") ?? "" ), addTo: - (getVariableValue(auth.apikey, "in") ?? "query") === "query" + getVariableValue(auth.apikey, "in") === "query" ? "QUERY_PARAMS" : "HEADERS", }