Various fixes for spelling

Various minor spelling mistake fixes.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
This commit is contained in:
Herman van Hazendonk
2019-11-19 14:48:26 +01:00
parent 6ecb256483
commit 0b9d93f745
6 changed files with 21 additions and 21 deletions

View File

@@ -16,11 +16,11 @@ const client = new ebics.Client({
// New keys will be generated and saved in ./keys-test
client.send(ebics.Orders.INI)
.then((resp) => {
console.log('Respose for INI order %j', resp);
console.log('Response for INI order %j', resp);
return client.send(ebics.Orders.HIA);
})
.then((resp) => {
console.log('Reponse for HIA order %j', resp);
console.log('Response for HIA order %j', resp);
if (resp.technicalCode !== '000000')
throw new Error('Something might went wrong');

View File

@@ -17,7 +17,7 @@ const client = new ebics.Client({
// The bank should have enabled the user
client.send(ebics.Orders.HPB)
.then((resp) => {
console.log('Respose for HPB order %j', resp);
console.log('Response for HPB order %j', resp);
if (resp.technicalCode !== '000000')
throw new Error('Something went wrong');

View File

@@ -16,7 +16,7 @@ const client = new ebics.Client({
// The bank keys must have been already saved
client.send(ebics.Orders.HTD)
.then((resp) => {
console.log('Respose for HTD order %j', resp);
console.log('Response for HTD order %j', resp);
if (resp.technicalCode !== '000000')
throw new Error('Something went wrong');