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:
agodnic 2023-06-27 10:12:55 -03:00 committed by GitHub
parent 5663fed0c9
commit f7543a1054
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.