diff --git a/models/leads.go b/models/leads.go index 2c9597a..02a64d7 100644 --- a/models/leads.go +++ b/models/leads.go @@ -82,6 +82,6 @@ type Value struct { type CustomFieldsValue struct { FieldID int `json:"field_id"` - FieldCode string `json:"field_code"` + FieldCode string `json:"field_code,omitempty"` Values []*Value `json:"values"` }