perf: Remove indentation in REST respones (#16142)
This commit is contained in:
@@ -63,7 +63,7 @@ func New(clientCtx client.Context, logger log.Logger, grpcSrv *grpc.Server) *Ser
|
||||
// Using the gogo/gateway package with the gRPC-Gateway WithMarshaler option fixes the scalar field marshaling issue.
|
||||
marshalerOption := &gateway.JSONPb{
|
||||
EmitDefaults: true,
|
||||
Indent: " ",
|
||||
Indent: "",
|
||||
OrigName: true,
|
||||
AnyResolver: clientCtx.InterfaceRegistry,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user