Remove obsolete HACK comment

This commit is contained in:
Claudio Ortolina
2025-06-01 14:18:25 +01:00
parent 1703f1cf70
commit c4fa389e5d
-2
View File
@@ -28,8 +28,6 @@ defmodule LastFm.Feed do
|> Enum.map(fn t -> Map.take(t, @insertable_fields) end)
|> Enum.map(&Map.to_list/1)
# HACK: if two tracks happen to have the exact same scrobbled_at_uts,
# we move it by a sec.
MusicLibrary.Repo.insert_all(LastFm.Track, track_params,
on_conflict: :nothing,
conflict_target: [:scrobbled_at_uts, :title]