Skip to content

Commit

Permalink
Merge pull request #120 from ElrondNetwork/EN-13449-remove-withMetaData
Browse files Browse the repository at this point in the history
Remove withMetaData, make it omitempty
  • Loading branch information
mariusmihaic authored Nov 17, 2022
2 parents 7715eef + b8b8788 commit 7501fba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion data/api/apiBlock.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,4 @@ type GetBlockParameters struct {
type GetAlteredAccountsForBlockOptions struct {
GetBlockParameters
TokensFilter string
WithMetadata bool
}
2 changes: 1 addition & 1 deletion data/outport/dtos.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type AccountTokenData struct {
Identifier string `json:"identifier"`
Balance string `json:"balance"`
Properties string `json:"properties"`
MetaData *TokenMetaData `json:"metadata"`
MetaData *TokenMetaData `json:"metadata,omitempty"`
AdditionalData *AdditionalAccountTokenData `json:"additionalData,omitempty"`
}

Expand Down

0 comments on commit 7501fba

Please sign in to comment.