Serve covers from assets

This commit is contained in:
Claudio Ortolina
2025-09-01 14:44:17 +03:00
parent 49c3a5cba2
commit bd12454884
4 changed files with 32 additions and 35 deletions
+4
View File
@@ -22,6 +22,10 @@ defmodule MusicLibrary.Assets do
end
def get(hash) do
Repo.get(Asset, hash)
end
def get!(hash) do
Repo.get!(Asset, hash)
end
end