artist urls: stop using normalized_url.
Stop the last remaining uses of the `artist_urls.normalized_url` column. It's already no longer used by the artist finder. The only remaining uses were by API users. Those users should use the `url` column instead.
This commit is contained in:
@@ -218,7 +218,7 @@ module ArtistFinder
|
||||
def find_artists(url)
|
||||
return Artist.none if url.blank?
|
||||
|
||||
url = ArtistURL.normalize_normalized_url(url)
|
||||
url = ArtistURL.normalize_url(url)
|
||||
|
||||
# First try an exact match
|
||||
artists = Artist.active.joins(:urls).where(urls: { url: url })
|
||||
|
||||
Reference in New Issue
Block a user