node build fixed

This commit is contained in:
ra_ma
2025-09-20 14:08:38 +01:00
parent c6ebbe069d
commit 3d298fa434
1516 changed files with 535727 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
package handlers
import (
"seanime/internal/database/db_bridge"
"github.com/labstack/echo/v4"
)
// HandleGetScanSummaries
//
// @summary returns the latest scan summaries.
// @route /api/v1/library/scan-summaries [GET]
// @returns []summary.ScanSummaryItem
func (h *Handler) HandleGetScanSummaries(c echo.Context) error {
sm, err := db_bridge.GetScanSummaries(h.App.Database)
if err != nil {
return h.RespondWithError(c, err)
}
return h.RespondWithData(c, sm)
}