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,10 +3,11 @@
'use strict';
const client = require('./getClient')();
const { Orders } = require('../index');
// Client keys must be already generated and send by letter.
// The bank should have enabled the user
client.send(ebics.Orders.HPB)
client.send(Orders.HPB)
.then((resp) => {
console.log('Response for HPB order %j', resp);
if (resp.technicalCode !== '000000')