Skip to content

Commit

Permalink
vingo: change json response
Browse files Browse the repository at this point in the history
  • Loading branch information
Topvennie committed Aug 11, 2024
1 parent 26598a9 commit 6a85094
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 6a85094

Please sign in to comment.