diff options
author | Jordan Bracco <href@random.sh> | 2022-12-17 14:01:18 +0000 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2022-12-20 19:29:41 +0100 |
commit | 67754dc5366976b0f4300af2d1798baa81423df5 (patch) | |
tree | ea7d78652e52e8e347f1976c4b2777cd6565462f /lib/lsg/lsg.ex | |
parent | Nola rename cont. pt. 2. Refs T77. (diff) |
Nola rename, cont. pt. 3. Refs T77.
`s/:lsg/:nola/g`
Diffstat (limited to '')
-rw-r--r-- | lib/lsg/lsg.ex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/lsg/lsg.ex b/lib/lsg/lsg.ex index 11d0e24..0acb76e 100644 --- a/lib/lsg/lsg.ex +++ b/lib/lsg/lsg.ex @@ -7,8 +7,8 @@ defmodule Nola do owner_email: "contact@my.nola.bot" ] - def env(), do: Application.get_env(:lsg) - def env(key, default \\ nil), do: Application.get_env(:lsg, key, default) + def env(), do: Application.get_env(:nola) + def env(key, default \\ nil), do: Application.get_env(:nola, key, default) def brand(), do: env(:brand, @default_brand) def brand(key), do: Keyword.get(brand(), key) @@ -20,11 +20,11 @@ defmodule Nola do end def data_path do - Application.get_env(:lsg, :data_path) + Application.get_env(:nola, :data_path) end def version do - Application.spec(:lsg)[:vsn] + Application.spec(:nola)[:vsn] end end |