Revert "refactor(server): simplify lastfm agent initialization logic"

This reverts commit 6f52c0201c.

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan
2025-05-21 16:20:29 -04:00
parent 924354eb4b
commit dd1d3907b4
2 changed files with 15 additions and 3 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ func createAgents(ds model.DataStore) *Agents {
continue
}
enabled = append(enabled, name)
res = append(res, agent)
res = append(res, init(ds))
}
log.Debug("List of agents enabled", "names", enabled)