Author: Paolo Lulli <paolo@lulli.net>
Unformatted output
server/rest/outputs.go | 3 +--
diff --git a/server/rest/outputs.go b/server/rest/outputs.go index 281617b71b1f2bb9907625ef5474627b3a82c4f7..b6d65c80a97d1acc2af3980f0fb17798204704fe 100644 --- a/server/rest/outputs.go +++ b/server/rest/outputs.go @@ -7,7 +7,6 @@ formatted := false if formatted { c.IndentedJSON(status, h) } else { - //c.JSON(status, h) - c.String(status, "%v", h) + c.JSON(status, h) } }