refactor(server): simplify lastfm agent initialization logic

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan
2025-04-19 23:36:53 -04:00
parent 4944f8035a
commit 6f52c0201c
2 changed files with 3 additions and 11 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ func createAgents(ds model.DataStore) *Agents {
continue
}
enabled = append(enabled, name)
res = append(res, init(ds))
res = append(res, agent)
}
log.Debug("List of agents enabled", "names", enabled)