Commit f8f3b09f8cb0e9f0848aedfcc11fc5c614ba7656
1 parent
2ada676a93
Exists in
master
Catat method pada reverse report irs
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
lib/irs/reverse-report.js
... | ... | @@ -40,7 +40,7 @@ function processPartnerReport(qs) { |
40 | 40 | amount = irs.getPriceFromMessage( |
41 | 41 | qs.msg, |
42 | 42 | config.partner.price_pattern || config.price_pattern |
43 | - ); | |
43 | + ) || null; | |
44 | 44 | } |
45 | 45 | } |
46 | 46 | |
... | ... | @@ -71,7 +71,7 @@ function create() { |
71 | 71 | res.end('OK'); |
72 | 72 | |
73 | 73 | const remote_ip = req.connection ? req.connection.remoteAddress : null; |
74 | - logger.verbose('REVERSE-REPORT: got report from partner', {url: req.url, remote_ip: remote_ip}); | |
74 | + logger.verbose('REVERSE-REPORT: got report from partner', {url: req.url, remote_ip: remote_ip, method: req.method}); | |
75 | 75 | |
76 | 76 | processPartnerReport(qs); |
77 | 77 | }).listen(config.reverse_report_port); |