changing .get_env to .compile_env for Application config

This commit is contained in:
Adam Piontek 2021-03-31 14:06:33 -04:00
parent db98330446
commit 937d0c5505

View file

@ -7,7 +7,7 @@ defmodule Home73k do
if it comes from the database, an external API or others. if it comes from the database, an external API or others.
""" """
@app_vars Application.get_env(:bones73k, :app_global_vars, time_zone: "America/New_York") @app_vars Application.compile_env(:home73k, :app_global_vars, time_zone: "America/New_York")
@app_time_zone @app_vars[:time_zone] @app_time_zone @app_vars[:time_zone]
def app_time_zone, do: @app_time_zone def app_time_zone, do: @app_time_zone