Refactor last_fm configuration

Move all configuration outside of the LastFm module, so that it's not
polluted with references to the parent music_library application.
This commit is contained in:
Claudio Ortolina
2024-11-06 12:08:06 +00:00
parent c64a8f7287
commit 18ae8b7866
11 changed files with 33 additions and 24 deletions
+1 -1
View File
@@ -28,4 +28,4 @@ config :phoenix, :plug_init_mode, :runtime
config :phoenix_live_view,
enable_expensive_runtime_checks: true
config :music_library, :last_fm, nil
config :music_library, LastFm, api: nil