From 86d2b695f050cc0a7c6a1bffef8a8f21eb5132c8 Mon Sep 17 00:00:00 2001 From: Kirill Kazakov Date: Tue, 10 Feb 2026 12:15:57 +0400 Subject: [PATCH] Fix typo in the check of api_key in pre-request.js --- pre-request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre-request.js b/pre-request.js index d1b1521..344b283 100644 --- a/pre-request.js +++ b/pre-request.js @@ -9,7 +9,7 @@ if (!id) { throw new Error("Environment does not have an 'api_id'. Please ensure you have configured a Veracode environment."); } const key = pm.environment.get('api_key'); -if (!id) { +if (!key) { throw new Error("Environment does not have an 'api_key'. Please ensure you have configured a Veracode environment."); }