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)