diff --git a/core/commands/object/object.go b/core/commands/object/object.go index 7ab8bf949..b41ef3847 100644 --- a/core/commands/object/object.go +++ b/core/commands/object/object.go @@ -37,8 +37,8 @@ type Link struct { } type Object struct { - Hash string - Links []Link + Hash string `json:"Hash,omitempty"` + Links []Link `json:"Links,omitempty"` } var ObjectCmd = &cmds.Command{