Skip to content

Commit

Permalink
Fix JSON struct tag for FileMeta (#172)
Browse files Browse the repository at this point in the history
This looks like it was typoed.
  • Loading branch information
zwass authored Nov 8, 2021
1 parent e8b63d2 commit fc0190d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ func (r *Role) AddKeyIDs(ids []string) bool {
type Files map[string]FileMeta

type FileMeta struct {
Length int64 `json:"length",omitempty`
Hashes Hashes `json:"hashes",omitempty`
Length int64 `json:"length,omitempty"`
Hashes Hashes `json:"hashes,omitempty"`
Custom *json.RawMessage `json:"custom,omitempty"`
}

Expand Down

0 comments on commit fc0190d

Please sign in to comment.