Skip to content

Commit

Permalink
Hide badge name json in the struct not to expose to the API.
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-myles committed May 23, 2024
1 parent ce04d83 commit 32e8b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion badges/contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type (
Type string
GroupType string
AchievingRange struct {
Name string `json:"name,omitempty"`
Name string `json:"-"`
FromInclusive uint64 `json:"fromInclusive,omitempty"`
ToInclusive uint64 `json:"toInclusive,omitempty"`
}
Expand Down

0 comments on commit 32e8b22

Please sign in to comment.