mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-18 21:07:44 +03:00
Fix Artist full_text refresh
This commit is contained in:
parent
7819e834c8
commit
9bcd606fe8
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user