fix: use proper values for addTo field when auth type is api-key (#3966)
This commit is contained in:
@@ -595,7 +595,7 @@ const getComputedAuthHeaders = (
|
||||
} else if (request.auth.authType === "api-key") {
|
||||
const { key, addTo } = request.auth
|
||||
|
||||
if (addTo === "Headers" && key) {
|
||||
if (addTo === "HEADERS" && key) {
|
||||
headers.push({
|
||||
active: true,
|
||||
key,
|
||||
|
||||
Reference in New Issue
Block a user