fix: address code review findings
This commit is contained in:
@@ -39,7 +39,7 @@ func SyncArtistDiscography(
|
||||
}
|
||||
|
||||
// Step 1: Check cache.
|
||||
cachedReleases, err := GetCachedReleases(db, artistID, ttl)
|
||||
cachedReleases, err := database.GetExternalReleasesByArtistWithCache(db, artistID, ttl)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("sync artist discography: cache check failed: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user