Skip to content

Commit c7e4534

Browse files
authored
fix(common): resolve Postman API key authorization header import mapping (hoppscotch#5701)
1 parent a0bc229 commit c7e4534

File tree

1 file changed

+1
-1
lines changed
  • packages/hoppscotch-common/src/helpers/import-export/import

1 file changed

+1
-1
lines changed

packages/hoppscotch-common/src/helpers/import-export/import/postman.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ const getHoppReqAuth = (
299299
getVariableValue(auth.apikey, "value") ?? ""
300300
),
301301
addTo:
302-
(getVariableValue(auth.apikey, "in") ?? "query") === "query"
302+
getVariableValue(auth.apikey, "in") === "query"
303303
? "QUERY_PARAMS"
304304
: "HEADERS",
305305
}

0 commit comments

Comments
 (0)