Commit 483baf3f authored by Morbi's avatar Morbi

fix settings to match golang guides

parent 57f1650a
......@@ -33,10 +33,10 @@
"PaymentProviders": {
"Hbci": {
"Name": "string",
"UserId": "AA00000000",
"UserID": "AA00000000",
"BankCode": "11122233",
"Pin": "secret",
"Url": "https://example.com"
"URL": "https://example.com"
}
},
......
......@@ -54,10 +54,10 @@ func executeFetch() error {
user := aqbanking.User{
ID: 0,
Name: config.Settings.PaymentProviders.Hbci.Name,
UserID: config.Settings.PaymentProviders.Hbci.UserId,
CustomerID: config.Settings.PaymentProviders.Hbci.UserId,
UserID: config.Settings.PaymentProviders.Hbci.UserID,
CustomerID: config.Settings.PaymentProviders.Hbci.UserID,
BankCode: config.Settings.PaymentProviders.Hbci.BankCode,
ServerURI: config.Settings.PaymentProviders.Hbci.Url,
ServerURI: config.Settings.PaymentProviders.Hbci.URL,
HbciVersion: 300,
}
......@@ -81,7 +81,7 @@ func executeFetch() error {
}
p := Pin{
MyUserID: config.Settings.PaymentProviders.Hbci.UserId,
MyUserID: config.Settings.PaymentProviders.Hbci.UserID,
MyBankCode: config.Settings.PaymentProviders.Hbci.BankCode,
MyPin: config.Settings.PaymentProviders.Hbci.Pin,
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment