diff --git a/lib/command-handler/buy.js b/lib/command-handler/buy.js index 9de0577..b036de7 100644 --- a/lib/command-handler/buy.js +++ b/lib/command-handler/buy.js @@ -39,7 +39,7 @@ function execute(tokens, params, cb) { report_port: params.report_port, terminal_name: params.from, product_name: tokens[1].toUpperCase(), - destination: tokens[2], + destination: tokens[2].replace(/^\+62/, '0'), password: tokens[3], request_id: tokens[4] || generateRequestId(tokens[1], tokens[2]), postpaid: 0