fix(examples): orders ref

This commit is contained in:
nanov
2019-12-30 11:36:11 +02:00
parent e060863356
commit 4b0bf0eba6
10 changed files with 22 additions and 10 deletions

View File

@@ -6,9 +6,11 @@ const ebics = require('../index');
const configjs = require('./config.js');
const client = gClient;
const { Orders } = require('../index');
// New keys will be generated and saved in ./keys-test
client.send(ebics.Orders.INI)
client.send(Orders.INI)
.then((resp) => {
console.log('Response for INI order %j', resp);
return client.send(ebics.Orders.HIA);