Compare View
Commits (2)
Changes
Showing 3 changed files Side-by-side Diff
lib/reverse-report.js
... | ... | @@ -40,7 +40,7 @@ function create() { |
40 | 40 | rc: partner.komodoRc(value[partner.RESPONSECODE_TAG]) || '40', |
41 | 41 | //message: value.MESSAGE, |
42 | 42 | message: 'topUpReport: ' + stringify(value), |
43 | - sn: (value.SN || '').replace(/;$/, '') || st24.extractSnFromMessage(value.MESSAGE, config.sn_pattern), | |
43 | + sn: (value.SN || '').replace(/;+$/, '').replace(/#+$/, '') || st24.extractSnFromMessage(value.MESSAGE, config.sn_pattern), | |
44 | 44 | amount: value.PRICE || st24.extractPriceFromMsg(value.MESSAGE, config.amount_pattern), |
45 | 45 | balance: st24.extractBalanceFromMsg(value.MESSAGE, config.balance_pattern), |
46 | 46 | raw: value, |
package-lock.json