Improve readability by moving on one line

This commit is contained in:
Claudio Ortolina
2025-02-27 13:47:45 +00:00
parent 7ac2f7a815
commit 68d8fa4d3c
+2 -8
View File
@@ -4,10 +4,7 @@ defmodule LastFm do
def get_artist_info(musicbrainz_id, name) do
last_fm_config = last_fm_config()
case API.get_artist_info(
{:musicbrainz_id, musicbrainz_id},
last_fm_config
) do
case API.get_artist_info({:musicbrainz_id, musicbrainz_id}, last_fm_config) do
{:ok, info} ->
{:ok, info}
@@ -24,10 +21,7 @@ defmodule LastFm do
def get_similar_artists(musicbrainz_id, name) do
last_fm_config = last_fm_config()
case API.get_similar_artists(
{:musicbrainz_id, musicbrainz_id},
last_fm_config
) do
case API.get_similar_artists({:musicbrainz_id, musicbrainz_id}, last_fm_config) do
{:ok, info} ->
{:ok, info}