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

@@ -3,9 +3,10 @@
'use strict';
const client = require('./getClient')();
const { Orders } = require('../index');
// The bank keys must have been already saved
client.send(ebics.Orders.HTD)
client.send(Orders.HTD)
.then((resp) => {
console.log('Response for HTD order %j', resp);
if (resp.technicalCode !== '000000')