Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

kevindeleon
Copy link
Contributor

@kevindeleon kevindeleon commented Aug 5, 2020

"update" should follow the same pattern as other methods like deleteContact and getContact that require "id" based on the API documentation. https://developers.intercom.com/intercom-api-reference/reference#update-contact

Why?

Because the update method is currently broken for Contacts.

How?

Adds id as a required param.

"update" should follow the same pattern as other methods like deleteContact and getContact that require "id" based on the API documentation.
@kevindeleon
Copy link
Contributor Author

kevindeleon commented Aug 5, 2020

I don't have time currently to update tests or README for this...so if someone else would like to take that on...that'd be great...but based on my code that I am currently working with...this fixes the update method (which currently does not work for Contacts in 4.4.0)

I really do apologize for breaking the rules regarding Pull Requests... I promise I did read them, but I just don't have time at the moment to update everything as I'm on a deadline -- but I thought this might be useful to someone else. Feel free to close, delete or move into an issue instead.

@kevindeleon kevindeleon changed the title fixing broken update method fixing broken Contacts update method Aug 5, 2020
@kevindeleon kevindeleon marked this pull request as draft August 5, 2020 18:16
@kevindeleon kevindeleon closed this Aug 5, 2020
@kevindeleon kevindeleon reopened this Aug 5, 2020
@kevindeleon
Copy link
Contributor Author

I've gone ahead and fixed the tests and the README file.

@kevindeleon kevindeleon marked this pull request as ready for review August 5, 2020 18:42
Copy link
Contributor

@GabrielAnca GabrielAnca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for taking the time for this @kevindeleon 🙇 We totally missed this in the last release. Will be releasing a new version straight away

@GabrielAnca GabrielAnca merged commit acb9f20 into intercom:master Aug 6, 2020
@kevindeleon
Copy link
Contributor Author

@GabrielAnca -- No problem. Glad to help. Hope everyone on your team is healthy and safe. Thanks for the quick release!

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.