diff --git a/vingo/handlers/public.go b/vingo/handlers/public.go index 87bce59..df3f8d7 100644 --- a/vingo/handlers/public.go +++ b/vingo/handlers/public.go @@ -14,5 +14,5 @@ func PublicRecentScans(c *fiber.Ctx) error { return c.Status(500).SendString("Error getting recent scans") } - return c.JSON(scans) + return c.JSON(fiber.Map{"scans": scans}) }