intercom-php icon indicating copy to clipboard operation
intercom-php copied to clipboard

Add ability to set the Intercom API region by injecting the base URI

Open eexit opened this issue 3 years ago • 3 comments

Why?

Out integration is based in another region than the US.

https://developers.intercom.com/building-apps/docs/rest-apis#available-endpoints

How?

Adding an optional parameter to the client constructor, defaulted with the US region to avoid any BC.

eexit avatar Oct 28 '22 09:10 eexit

Hi @dannyfallon,

Could you check why the CI is failing? It looks like the auth token is gone or expired..

Thanks!

eexit avatar Oct 28 '22 10:10 eexit

Howdy @eexit, thanks for the ping. I've checked over the GitHub settings in our org and CircleCI is still there. I've also managed to make a new branch and Circle tested it for me. I can see other folks had their PRs work as recently as July and to my knowledge there's been no changes.

Can I ask if this is an issue with your own CircleCI setup? Can you log out of Circle and back in using GitHub then re-push your branch to see if that fixes it? If it doesn't I'll reach out to Circle to see what's up.

dannyfallon avatar Oct 28 '22 10:10 dannyfallon

@dannyfallon Awesome, thanks! CI is green now 🎉

eexit avatar Oct 28 '22 11:10 eexit