Skip to content

Conversation

@lkabell
Copy link

@lkabell lkabell commented Feb 19, 2020

Why?

The Contacts list would always be empty because of the missing JSON annotation on the Contacts field, e.g. when doing

contactList, err := ic.Contacts.List(intercom.PageParams{Page: 2})
contactList.Contacts

contactList.Contacts would be empty.

How?

Added JSON annotation.

@lkabell lkabell changed the title Add missing annotation on contact property in ContactList Add missing annotation on Contacts property in ContactList Feb 19, 2020
@taipeicoder
Copy link

Same goes for other resources (e.g: CompanyList)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants