refactor library service to use REST repository pattern and remove CRUD operations

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan committed 2025-07-16 18:10:14 -04:00
1 parent 5c01eb06ae
commit d2a2c43ef5
11 files changed
+476 -406

No files matched your search

+1 -1
View File
@@ -70,8 +70,8 @@ func (n *Router) routes() http.Handler {
r.With(adminOnlyMiddleware).Group(func(r chi.Router) {
n.addInspectRoute(r)
n.addConfigRoute(r)
n.addLibraryRoute(r)
n.addUserLibraryRoute(r)
n.RX(r, "/library", n.libs.NewRepository, true)
})
})