Compare View
Commits (2)
Changes
Showing 3 changed files Side-by-side Diff
lib/callback/apikey-checker.js
... | ... | @@ -12,6 +12,10 @@ const sendInvalidApikeyResponse = (xid, res) => { |
12 | 12 | }); |
13 | 13 | }; |
14 | 14 | |
15 | +if (!config.partner.callback.apikey) { | |
16 | + logger.warn(`${MODULE_NAME} 56420201: Missing config.partner.callback.apikey. Please consider to set it for security reason`); | |
17 | +} | |
18 | + | |
15 | 19 | module.exports = (req, res, next) => { |
16 | 20 | if (!config.partner || !config.partner.callback || !config.partner.callback.apikey) { |
17 | 21 | next(); |
package-lock.json
1 | 1 | { |
2 | 2 | "name": "komodo-gw-komodo-httpgetx", |
3 | - "version": "0.3.0", | |
3 | + "version": "0.3.1", | |
4 | 4 | "lockfileVersion": 2, |
5 | 5 | "requires": true, |
6 | 6 | "packages": { |
7 | 7 | "": { |
8 | 8 | "name": "komodo-gw-komodo-httpgetx", |
9 | - "version": "0.3.0", | |
9 | + "version": "0.3.1", | |
10 | 10 | "license": "ISC", |
11 | 11 | "dependencies": { |
12 | 12 | "axios": "^1.1.3", |