Remove field `vaa.NativeTxHash` from JSON model (#462)
### Description Remove the `NativeTxHash` from the JSON model returned by `GET /api/v1/vaas`. That field was never meant to be exposed to the API users.
This commit is contained in:
parent
5663fed0c9
commit
f7543a1054
|
@ -35,7 +35,7 @@ type VaaDoc struct {
|
|||
// NativeTxHash is an internal field.
|
||||
//
|
||||
// It is not intended to be accessed by consumers of this package.
|
||||
NativeTxHash string `bson:"nativeTxHash"`
|
||||
NativeTxHash string `bson:"nativeTxHash" json:"-"`
|
||||
}
|
||||
|
||||
// MarshalJSON interface implementation.
|
||||
|
|
Loading…
Reference in New Issue