Commit 7f55995efb99b3ff8f589a1239d6f070475e9e2e

Authored by Adhidarma Hadiwinoto
1 parent c9d1528bd1
Exists in master

Always cast REQUESTID to string

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -50,7 +50,7 @@ function buy(task) {
50 50 function _topUpRequest(task, isAdvice) {
51 51 const params = {
52 52 MSISDN: config.partner.msisdn || config.partner.userid,
53   - REQUESTID: task.trx_id,
  53 + REQUESTID: task.trx_id.toString(),
54 54 PIN: config.partner.pin || config.partner.password,
55 55 NOHP: task.destination,
56 56 NOM: task.remote_product
... ... @@ -112,7 +112,7 @@ function _topUpRequest(task, isAdvice) {
112 112  
113 113 function _topUpInquiry(task) {
114 114 const params = {
115   - REQUESTID: task.trx_id,
  115 + REQUESTID: task.trx_id.toString(),
116 116 MSISDN: config.partner.msisdn || config.partner.userid,
117 117 PIN: config.partner.pin || config.partner.password,
118 118 NOHP: task.destination