From c4fa389e5da9cabca4100a527d6819b50cce77a7 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Sun, 1 Jun 2025 14:18:25 +0100 Subject: [PATCH] Remove obsolete HACK comment --- lib/last_fm/feed.ex | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/last_fm/feed.ex b/lib/last_fm/feed.ex index d197a057..e5a56d5b 100644 --- a/lib/last_fm/feed.ex +++ b/lib/last_fm/feed.ex @@ -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]