Commit d6096122d9f46418bbcc3dd7d7ee87a271dc7eb0
1 parent
27cfaa6f25
Exists in
master
typo fix
Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff
gateway/advice-push-server.js
... | ... | @@ -15,7 +15,9 @@ let partner = null; |
15 | 15 | function setPartner(_partner) { |
16 | 16 | partner = _partner; |
17 | 17 | |
18 | - if (!config || !config.push_server || !!config.push_server.apikey || !config.push_server.advice || !config.push_server.advice.url || !config.push_server.advice.port) return; | |
18 | + if (!config || !config.push_server || !config.push_server.apikey || !config.push_server.advice || !config.push_server.advice.url || !config.push_server.advice.port) { | |
19 | + return; | |
20 | + } | |
19 | 21 | |
20 | 22 | app.listen(config.push_server.advice.port, function () { |
21 | 23 | logger.info('Advice server listening', {port: config.push_server.advice.port}); |