Commit 76e71b65aa62cb76c26294b4ceb17f9ee59ae08d
1 parent
ed96a98898
Exists in
master
penanganan respon tanpa rc
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
lib/partner.js
... | ... | @@ -102,7 +102,7 @@ function _hit(task, is_advice) { |
102 | 102 | |
103 | 103 | report({ |
104 | 104 | trx_id: task.trx_id, |
105 | - rc: partnerRc[result.rc] || '40', | |
105 | + rc: result.rc ? partnerRc[result.rc] || '40' : '68', | |
106 | 106 | message: result.message, |
107 | 107 | sn: result.sn, |
108 | 108 | amount: Number(result.amount) || null, |