Compare View
Commits (2)
Changes
Showing 2 changed files Side-by-side Diff
lib/partner.js
... | ... | @@ -101,6 +101,7 @@ function _topUpRequest(task, isAdvice) { |
101 | 101 | message: stringify(value), |
102 | 102 | sn: (value.SN || '').replace(/;$/, '') || st24.extractSnFromMessage(value.MESSAGE, config.sn_pattern), |
103 | 103 | amount: value.PRICE || st24.extractPriceFromMsg(value.MESSAGE, config.amount_pattern), |
104 | + balance: st24.extractBalanceFromMsg(value.MESSAGE, config.balance_pattern), | |
104 | 105 | raw: value, |
105 | 106 | misc: { |
106 | 107 | task: task |