| @@ -16,7 +16,7 @@ type crmdLead struct { | |||
| //Name string `json:"name,omitempty"` | |||
| //Deleted bool `json:"deleted,omitempty"` | |||
| AvatarID string `json:"avatarId,omitempty"` | |||
| AvatarName string `json:"avatarName,omotempty"` | |||
| AvatarName string `json:"avatarName,omitempty"` | |||
| SalutationName string `json:"salutationName,omitempty"` | |||
| FirstName string `json:"firstName,omitempty"` | |||
| LastName string `json:"lastName,omitempty"` | |||
| @@ -191,6 +191,7 @@ func (m crmdLead) crmLeadConvert2Contact() (newContact crmdContact) { | |||
| func (m crmdLead) Save() (newlead crmdLead, err error) { | |||
| jsonB, err := json.Marshal(m) | |||
| log.Println(string(jsonB)) | |||
| if err != nil { | |||
| return | |||
| } | |||