Skip to content

Commit

Permalink
Remove field vaa.NativeTxHash from JSON model (#462)
Browse files Browse the repository at this point in the history
### 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.
  • Loading branch information
agodnic committed Jun 27, 2023
1 parent 5663fed commit f7543a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/handlers/vaa/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f7543a1

Please sign in to comment.