From 13396f1f89b4c56bf3e443154911050bcb94ef37 Mon Sep 17 00:00:00 2001 From: Shawn Miller Date: Wed, 8 Jun 2022 07:32:59 -0500 Subject: [PATCH] Don't allow environment variables to specify DHL API keys --- carriers/dhl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/carriers/dhl.js b/carriers/dhl.js index 4be47ca..372a98f 100644 --- a/carriers/dhl.js +++ b/carriers/dhl.js @@ -50,7 +50,7 @@ function DHL(options) { forever: true, gzip: true, headers: { - 'DHL-API-Key': options.apiKey || process.env.DHL_API_KEY + 'DHL-API-Key': options.apiKey }, json: true, method: 'GET',