chore: updated types
This commit is contained in:
@@ -12,4 +12,5 @@ export type HoppTestData = {
|
||||
export type HoppTestResult = {
|
||||
tests: HoppTestData[]
|
||||
expectResults: HoppTestExpectResult[]
|
||||
description: string
|
||||
}
|
||||
|
||||
@@ -114,8 +114,7 @@ export function getEffectiveRESTRequest(
|
||||
})
|
||||
} else if (request.auth.authType === "api-key") {
|
||||
const { key, value, addTo } = request.auth
|
||||
|
||||
if (addTo === "Header") {
|
||||
if (addTo === "Headers") {
|
||||
effectiveFinalHeaders.push({
|
||||
active: true,
|
||||
key: parseTemplateString(key, envVariables),
|
||||
|
||||
Reference in New Issue
Block a user