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",
"userId": "MyUserIdTest",
"hostId": "MyHostIdTest",

View File

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

View File

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