fix(examples): serverAddress -> url

This commit is contained in:
nanov 2019-12-30 11:07:24 +02:00
parent e98a1f8cc3
commit 3d4c94dff8
3 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
{ {
"serverAddress": "https://ebics-test.server", "url": "https://ebics-test.server",
"partnerId": "EBICS ParnerID Test", "partnerId": "EBICS ParnerID Test",
"userId": "MyUserIdTest", "userId": "MyUserIdTest",
"hostId": "MyHostIdTest", "hostId": "MyHostIdTest",

View File

@ -1,5 +1,5 @@
{ {
"serverAddress": "https://ebics.server", "url": "https://ebics.server",
"partnerId": "EBICS ParnerID Production", "partnerId": "EBICS ParnerID Production",
"userId": "MyUserIdProduction", "userId": "MyUserIdProduction",
"hostId": "MyHostIdProduction", "hostId": "MyHostIdProduction",

View File

@ -5,14 +5,14 @@ const { Client, fsKeysStorage } = require('../index');
const loadConfig = require('./loadConfig'); const loadConfig = require('./loadConfig');
module.exports = ({ module.exports = ({
serverAddress, url,
partnerId, partnerId,
userId, userId,
hostId, hostId,
passphrase, passphrase,
keyStoragePath, keyStoragePath,
} = loadConfig()) => new Client({ } = loadConfig()) => new Client({
serverAddress, url,
partnerId, partnerId,
userId, userId,
hostId, hostId,