mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 04:27:37 +03:00
Fix lint errors
This commit is contained in:
parent
1a8bef0743
commit
5d81849603
3 changed files with 3 additions and 3 deletions
|
@ -91,7 +91,6 @@ func (api *Router) Search2(r *http.Request) (*responses.Subsonic, error) {
|
|||
searchResult2 := &responses.SearchResult2{}
|
||||
searchResult2.Artist = make([]responses.Artist, len(as))
|
||||
for i, artist := range as {
|
||||
artist := artist
|
||||
searchResult2.Artist[i] = responses.Artist{
|
||||
Id: artist.ID,
|
||||
Name: artist.Name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue