Skip to content

Commit

Permalink
Fixes wrong key when loading url from app-env (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
anfly0 committed Aug 14, 2020
1 parent 9965024 commit b7eddfb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/ex_bank_id/auth.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule ExBankID.Auth do
@options [
url: [
type: :string,
default: Application.get_env(:ex_bank_id, :cert_file, "https://appapi2.test.bankid.com/rp/v5.1/")
default: Application.get_env(:ex_bank_id, :url, "https://appapi2.test.bankid.com/rp/v5.1/")
],
cert_file: [
type: :string,
Expand Down
2 changes: 1 addition & 1 deletion lib/ex_bank_id/cancel.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule ExBankID.Cancel do
@options [
url: [
type: :string,
default: Application.get_env(:ex_bank_id, :cert_file, "https://appapi2.test.bankid.com/rp/v5.1/")
default: Application.get_env(:ex_bank_id, :url, "https://appapi2.test.bankid.com/rp/v5.1/")
],
cert_file: [
type: :string,
Expand Down
2 changes: 1 addition & 1 deletion lib/ex_bank_id/collect.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule ExBankID.Collect do
@options [
url: [
type: :string,
default: Application.get_env(:ex_bank_id, :cert_file, "https://appapi2.test.bankid.com/rp/v5.1/")
default: Application.get_env(:ex_bank_id, :url, "https://appapi2.test.bankid.com/rp/v5.1/")
],
cert_file: [
type: :string,
Expand Down
2 changes: 1 addition & 1 deletion lib/ex_bank_id/sign.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule ExBankID.Sign do
@options [
url: [
type: :string,
default: Application.get_env(:ex_bank_id, :cert_file, "https://appapi2.test.bankid.com/rp/v5.1/")
default: Application.get_env(:ex_bank_id, :url, "https://appapi2.test.bankid.com/rp/v5.1/")
],
cert_file: [
type: :string,
Expand Down

0 comments on commit b7eddfb

Please sign in to comment.