diff --git a/internal/handlers/library.go b/internal/handlers/library.go index 3d19bdb..40d1520 100644 --- a/internal/handlers/library.go +++ b/internal/handlers/library.go @@ -313,3 +313,8 @@ func (h *LibraryHandler) GetUserVisibleLibrariesData(ctx context.Context, userID func (h *LibraryHandler) GetLibraryTypeData(ctx context.Context) ([]database.LibraryTypes, error) { return h.libraryService.GetLibraryTypes(ctx) } + +// ListLibrariesData returns all libraries for SSR (admin only, not JSON response) +func (h *LibraryHandler) ListLibrariesData(ctx context.Context) ([]database.ListLibrariesRow, error) { + return h.libraryService.ListLibraries(ctx) +}