Skip to content

Commit

Permalink
vingo: change json response
Browse files Browse the repository at this point in the history
  • Loading branch information
Topvennie authored and hannes-dev committed Aug 12, 2024
1 parent c723351 commit e1c2232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vingo/handlers/public.go
Original file line number Diff line number Diff line change
Expand Up @@ -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})
}

0 comments on commit e1c2232

Please sign in to comment.