Store image hashes in the db - part 2

This commit is contained in:
Claudio Ortolina
2024-09-30 20:20:32 +01:00
parent 180224d381
commit 9b7429dd9f
2 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ defmodule MusicLibrary.Records do
q =
from r in Record,
where: r.id == ^id,
select: r.image_data
select: %{image_data: r.image_data, image_data_hash: r.image_data_hash}
Repo.one!(q)
end