Commit f16d5d2038ff42676f9d1233d4daaef57e720b34
1 parent
5c5aa9c442
Exists in
master
Transfer help more detail
Showing 1 changed file with 4 additions and 1 deletions Side-by-side Diff
lib/command-handler/transferbalance.js
... | ... | @@ -16,7 +16,10 @@ ${keyword.toUpperCase()}.<TERMINALDOWNLINE>.<JUMLAH>.<PIN> |
16 | 16 | function execute(tokens, params, cb) { |
17 | 17 | if (!tokens || tokens.length < 4) { |
18 | 18 | const responseParams = { |
19 | - body: `${ commandError.ERR_INVALID_FORMAT }. ${ help(tokens[0]) }` | |
19 | + body: ` | |
20 | +${commandError.ERR_INVALID_FORMAT}: ${params.msg} | |
21 | + | |
22 | +${ help(tokens[0]) }`.trim(), | |
20 | 23 | } |
21 | 24 | |
22 | 25 | cb(null, null, responseParams); |