intercom-client
Advanced tools
Comparing version 2.10.0 to 2.10.1
@@ -223,3 +223,3 @@ 'use strict'; | ||
var message = null; | ||
if (Array.isArray(res.body.errors) && res.body.errors[0] && 'message' in res.body.errors) { | ||
if (Array.isArray(res.body.errors) && res.body.errors[0] && 'message' in res.body.errors[0]) { | ||
// Try to use the first errors message | ||
@@ -226,0 +226,0 @@ message = res.body.errors[0].message; |
{ | ||
"name": "intercom-client", | ||
"version": "2.10.0", | ||
"version": "2.10.1", | ||
"description": "Official Node bindings to the Intercom API", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/intercom/intercom-node", |
57795