diff --git a/x/gov/client/rest/rest.go b/x/gov/client/rest/rest.go index 6d4a52ca14..b8aa2c0ea9 100644 --- a/x/gov/client/rest/rest.go +++ b/x/gov/client/rest/rest.go @@ -227,6 +227,7 @@ func queryDepositsHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.Ha return } + w.Header().Set("Content-Type", "application/json") w.Write(res) } }