Skip to content

Commit 5d005f4

Browse files
committed
Passing default values to get_env
1 parent 702d334 commit 5d005f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/config.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Config
22

3-
config :thin_notion_api, :api_key, "test_api_key"
4-
config :thin_notion_api, :notion_version, "2021-08-16"
3+
config :thin_notion_api, :api_key, System.get_env("NOTION_API_KEY", "test_api_key")
4+
config :thin_notion_api, :notion_version, System.get_env("NOTION_VERSION", "2021-08-16")
55

66
config :exvcr,
77
vcr_cassette_library_dir: "fixture/vcr_cassettes",

0 commit comments

Comments
 (0)