Compare View

switch
from
...
to
 
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,
1 1 {
2 2 "name": "komodo-gw-st24",
3   - "version": "2.2.0",
  3 + "version": "2.2.1",
4 4 "lockfileVersion": 1,
5 5 "requires": true,
6 6 "dependencies": {
1 1 {
2 2 "name": "komodo-gw-st24",
3   - "version": "2.2.0",
  3 + "version": "2.2.1",
4 4 "description": "Komodo Gateway to ST24 XML-RPC",
5 5 "main": "index.js",
6 6 "scripts": {