Author: Paolo Lulli <paolo@lulli.net>
responses in toml
server/rest/outputs.go | 2 +-
diff --git a/server/rest/outputs.go b/server/rest/outputs.go index b6d65c80a97d1acc2af3980f0fb17798204704fe..7a52d5855558f457c07ecef6cd3b05dd05970ba9 100644 --- a/server/rest/outputs.go +++ b/server/rest/outputs.go @@ -7,6 +7,6 @@ formatted := false if formatted { c.IndentedJSON(status, h) } else { - c.JSON(status, h) + c.TOML(status, h) } }