prevent overwriting properties when values not passed
This commit is contained in:
parent
a8afd1621e
commit
f853f2a00b
1 changed files with 2 additions and 2 deletions
|
@ -232,8 +232,8 @@ type Location struct {
|
|||
Longitude *string `json:"longitude,omitempty"`
|
||||
}
|
||||
type ClaimCreateOptions struct {
|
||||
Title string `json:"title"`
|
||||
Description string `json:"description"`
|
||||
Title *string `json:"title,omitempty"`
|
||||
Description *string `json:"description,omitempty"`
|
||||
Tags []string `json:"tags,omitempty"`
|
||||
Languages []string `json:"languages,omitempty"`
|
||||
Locations []Location `json:"locations,omitempty"`
|
||||
|
|
Loading…
Reference in a new issue