diff options
Diffstat (limited to '')
-rw-r--r-- | lib/lsg_irc/link_plugin/youtube.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lsg_irc/link_plugin/youtube.ex b/lib/lsg_irc/link_plugin/youtube.ex index 1e3a0de..f7c7541 100644 --- a/lib/lsg_irc/link_plugin/youtube.ex +++ b/lib/lsg_irc/link_plugin/youtube.ex @@ -7,7 +7,7 @@ defmodule Nola.IRC.LinkPlugin.YouTube do needs an API key: ``` - config :lsg, :youtube, + config :nola, :youtube, api_key: "xxxxxxxxxxxxx" ``` @@ -32,7 +32,7 @@ defmodule Nola.IRC.LinkPlugin.YouTube do @impl true def expand(uri, %{video_id: video_id}, opts) do - key = Application.get_env(:lsg, :youtube)[:api_key] + key = Application.get_env(:nola, :youtube)[:api_key] params = %{ "part" => "snippet,contentDetails,statistics", "id" => video_id, |