Skip to content

Commit 4699c0c

Browse files
authored
Merge pull request #7 from caltechlibrary/tmorrell-patch-1
Update codemeta.go
2 parents ec8f0fb + 395228e commit 4699c0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codemeta/codemeta.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ type PersonOrOrganization struct {
1818
// Given/Family are used by individual persons
1919
GivenName string `json:"givenName,omitempty"`
2020
FamilyName string `json:"familyName,omitempty"`
21-
Affiliation string `json:"affiliation"`
22-
Email string `json:"email"`
21+
Affiliation string `json:"affiliation,omitempty"`
22+
Email string `json:"email,omitempty"`
2323
}
2424

2525
type Codemeta struct {

0 commit comments

Comments
 (0)