Comparing version 3.1.1 to 3.1.2
@@ -12,3 +12,3 @@ "use strict"; | ||
} else { | ||
if (res.headers["content-type"] === "application/json") { | ||
if (res.headers["content-type"].includes("application/json")) { | ||
try { | ||
@@ -15,0 +15,0 @@ this.json = res.body ? JSON.parse(res.body) : {}; |
{ | ||
"name": "m2x", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "AT&T M2X API client for node.js", | ||
@@ -5,0 +5,0 @@ "main": "./lib/m2x", |
50450