diff --git a/index.js b/index.js index 09cb9c2..4063bfb 100644 --- a/index.js +++ b/index.js @@ -6,8 +6,8 @@ const Events = require('./resources/events') class Intercom { /** - * - * @param {String} apiKey + * + * @param {String} apiKey */ constructor(apiKey) { this.apiKey = apiKey @@ -18,9 +18,10 @@ class Intercom { 'Authorization': `Bearer ${this.apiKey}`, 'Accept': 'application/json', 'Content-Type': 'application/json', + 'Intercom-version': '2.0', } }) - + this.contacts = new Contacts(this.client) this.tags = new Tags(this.client) this.visitors = new Visitors(this.client) @@ -28,4 +29,4 @@ class Intercom { } } -module.exports = Intercom \ No newline at end of file +module.exports = Intercom