fix(server): forward-fix CI — gofmt convert/types + rename unused r in enricher_test

This commit is contained in:
2026-05-04 17:41:16 -04:00
parent 0dbe326d8b
commit 1691290875
3 changed files with 21 additions and 21 deletions
+8 -8
View File
@@ -105,14 +105,14 @@ func artistRefFromCovered(a dbq.Artist, albumCount int, coverAlbumID pgtype.UUID
// durationSec may be 0 when the caller does not compute them.
func albumRefFrom(a dbq.Album, artistName string, trackCount, durationSec int) AlbumRef {
return AlbumRef{
ID: uuidToString(a.ID),
Title: a.Title,
SortTitle: a.SortTitle,
ArtistID: uuidToString(a.ArtistID),
ArtistName: artistName,
Year: yearFromDate(a.ReleaseDate),
TrackCount: trackCount,
DurationSec: durationSec,
ID: uuidToString(a.ID),
Title: a.Title,
SortTitle: a.SortTitle,
ArtistID: uuidToString(a.ArtistID),
ArtistName: artistName,
Year: yearFromDate(a.ReleaseDate),
TrackCount: trackCount,
DurationSec: durationSec,
CoverURL: coverURL(a.ID),
CoverArtSource: a.CoverArtSource,
}