Commit 4923ddcd3095f13d2e1b2bc1cfdbd34ec2b0bdf4
1 parent
c7ef5eaccc
Exists in
master
Fix missing calling core
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
lib/command-handler/adddownline.js
... | ... | @@ -63,13 +63,13 @@ function execute(tokens, params, cb) { |
63 | 63 | coreParams.new_terminal_name += suffix; |
64 | 64 | } |
65 | 65 | } |
66 | - | |
67 | - coreapi(coreEndpoint, coreParams, 'GET', cb); | |
68 | 66 | */ |
69 | 67 | |
70 | 68 | if (typeof coreParams.new_terminal_name === 'string' && common.isPhoneNumber(coreParams.new_terminal_name) && coreParams.new_terminal_name.indexOf('0') === 0) { |
71 | 69 | coreParams.new_terminal_name = coreParams.new_terminal_name.replace(/^0/, '62'); |
72 | 70 | } |
71 | + | |
72 | + coreapi(coreEndpoint, coreParams, 'GET', cb); | |
73 | 73 | } |
74 | 74 | |
75 | 75 | module.exports = execute; |
76 | 76 | \ No newline at end of file |