Remove unused artist functionality

This commit is contained in:
Claudio Ortolina
2025-09-18 21:17:21 +03:00
parent 455c3a8b53
commit 83151a125b
2 changed files with 0 additions and 40 deletions
-13
View File
@@ -151,19 +151,6 @@ defmodule MusicLibrary.Artists do
|> BackgroundRepo.insert()
end
def get_image(artist_id) do
q =
from ai in ArtistInfo,
where: ai.id == ^artist_id and not is_nil(ai.image_data),
select: %{
image_data: ai.image_data,
image_data_width: ai.image_data_width,
image_data_hash: ai.image_data_hash
}
Repo.one(q)
end
def change_artist_info(artist_info, attrs \\ %{}) do
ArtistInfo.changeset(artist_info, attrs)
end