Compare View
Commits (4)
Changes
Showing 7 changed files Side-by-side Diff
config.sample.json
lib/command-handler/buy.js
lib/command-handler/index.js
lib/command-handler/listdeposit.js
1 | +const config = require('komodo-sdk/config'); | |
1 | 2 | const coreEndpoint = '/histories/mutations/deposit-and-transfer'; |
2 | 3 | |
3 | 4 | const commandError = require('./error'); |
... | ... | @@ -31,6 +32,7 @@ function execute(tokens, params, cb) { |
31 | 32 | asker_terminal_name: params.from, |
32 | 33 | asker_terminal_password: tokens[idxPin], |
33 | 34 | created_date: tokens.length < 3 ? null : tokens[1], |
35 | + ascending: (config.ascending_mutation || config.ascending_deposit) ? 'true' : 'false', | |
34 | 36 | }; |
35 | 37 | |
36 | 38 | coreapi(coreEndpoint, coreParams, 'GET', cb); |
lib/http-listener.js
package-lock.json