forgot the syntax

This commit is contained in:
Keiran 2025-08-07 18:16:55 +01:00
parent 5c3c5c1f99
commit 0c70c973f7

View File

@ -76,7 +76,7 @@ func (h *Handlers) ListBucketsHandler(c echo.Context) error {
return c.JSON(500, map[string]string{"error": "Failed to list buckets"})
}
return c.JSON(200, map[string]interface{}{
return c.JSON(200, map[string]any{
"buckets": buckets,
})
}
@ -152,7 +152,7 @@ func (h *Handlers) ListObjectsHandler(c echo.Context) error {
return c.JSON(500, map[string]string{"error": "Failed to list objects"})
}
return c.JSON(200, map[string]interface{}{
return c.JSON(200, map[string]any{
"objects": objects,
})
}