Skip to content

Commit

Permalink
Don't allow environment variables to specify DHL API keys
Browse files Browse the repository at this point in the history
  • Loading branch information
freshlogic committed Jun 8, 2022
1 parent 8d8d470 commit 13396f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion carriers/dhl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 13396f1

Please sign in to comment.