intercom.io icon indicating copy to clipboard operation
intercom.io copied to clipboard

Company update

Open gplancke opened this issue 11 years ago • 2 comments

Hi there, thanks for your module.

However, impossible to update a company as you use a 'PUT' when the official intercom documentation specify a 'POST' for both creation and update.

Just so you know.

++

gplancke avatar Jan 09 '15 12:01 gplancke

Yes, this is a bug, needs to be "post" not "put" on update company. Good news, just call createCompany (which seems to be a post) as it calls exactly the same function on in intercom.io

Note: I see that this bug is marked as fixed, but the code in /lib clearly shows a PUt.

SethHamilton avatar Feb 11 '15 15:02 SethHamilton

Thanks for the info! Sorry, I didn't get to this for this long. Just changed it. Should work now if you upgrade intercom.io to '1.0.6' but feel free to reopen if it doesn't.

tarunc avatar Feb 13 '15 06:02 tarunc