mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-06 05:57:35 +03:00
Removed unnecessary 2nd value
This commit is contained in:
parent
7a2063544f
commit
20650ed3fd
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ func (r *BaseRepository) init(table string, entity interface{}) {
|
|||
h, _ := utils.ToMap(entity)
|
||||
r.fieldNames = make([]string, len(h))
|
||||
i := 0
|
||||
for k, _ := range h {
|
||||
for k := range h {
|
||||
r.fieldNames[i] = k
|
||||
i++
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue