mirror of
https://github.com/node-ebics/node-ebics-client.git
synced 2025-08-13 11:25:36 +00:00
Various fixes for spelling
Various minor spelling mistake fixes. Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
This commit is contained in:
@@ -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');
|
||||
|
||||
|
2
examples/save-bank-kesy.js → examples/save-bank-keys.js
Executable file → Normal file
2
examples/save-bank-kesy.js → examples/save-bank-keys.js
Executable file → Normal 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');
|
||||
|
@@ -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');
|
||||
|
||||
|
Reference in New Issue
Block a user