diff --git a/persistence/artist_repository.go b/persistence/artist_repository.go index ece0dbeaf..77d72af22 100644 --- a/persistence/artist_repository.go +++ b/persistence/artist_repository.go @@ -56,8 +56,8 @@ func (r *artistRepository) Exists(id string) (bool, error) { } func (r *artistRepository) Put(a *model.Artist) error { + a.FullText = getFullText(a.Name, a.SortArtistName) dba := r.fromModel(a) - a.FullText = getFullText(dba.Name, dba.SortArtistName) _, err := r.put(dba.ID, dba) return err }