Skip to content

Commit db0f908

Browse files
committed
Removed wrong 'required' JSON attribute
1 parent 19b4dce commit db0f908

File tree

1 file changed

+2
-2
lines changed
  • arduino/libraries/librariesindex

1 file changed

+2
-2
lines changed

arduino/libraries/librariesindex/json.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ type indexJSON struct {
3030
}
3131

3232
type indexRelease struct {
33-
Name string `json:"name,required"`
34-
Version *semver.Version `json:"version,required"`
33+
Name string `json:"name"`
34+
Version *semver.Version `json:"version"`
3535
Author string `json:"author"`
3636
Maintainer string `json:"maintainer"`
3737
Sentence string `json:"sentence"`

0 commit comments

Comments
 (0)