From 6bd8a15c7ad8bd26669869284eee5191d3219474 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sat, 9 May 2026 22:36:46 -0400 Subject: [PATCH] feat(server): mount /api/library/sync route Co-Authored-By: Claude Opus 4.7 (1M context) --- internal/api/api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/api/api.go b/internal/api/api.go index 23d2f929..afedd2ed 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -71,6 +71,7 @@ func Mount(r chi.Router, pool *pgxpool.Pool, logger *slog.Logger, events *playev authed.Get("/albums/{id}", h.handleGetAlbum) authed.Get("/albums/{id}/cover", h.handleGetCover) authed.Get("/library/albums", h.handleListLibraryAlbums) + authed.Get("/library/sync", h.handleLibrarySync) authed.Get("/tracks/{id}", h.handleGetTrack) authed.Get("/tracks/{id}/stream", h.handleGetStream) authed.Get("/search", h.handleSearch)