Omit empty value

This commit is contained in:
Dmitry Dmitriev 2020-12-03 10:11:12 +03:00
parent f975e1d571
commit 8dad259132

View file

@ -82,6 +82,6 @@ type Value struct {
type CustomFieldsValue struct { type CustomFieldsValue struct {
FieldID int `json:"field_id"` FieldID int `json:"field_id"`
FieldCode string `json:"field_code"` FieldCode string `json:"field_code,omitempty"`
Values []*Value `json:"values"` Values []*Value `json:"values"`
} }