diff --git a/README.md b/README.md index 93b6011..44e2dfa 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,10 @@ An error type that signifies that the response body could not be parsed as JSON. ## Changelog +### 1.0.1 (August 30, 2019) + +- Removed erroneous `console.log`. + ### 1.0.0 (August 30, 2019) Initial release. diff --git a/index.js b/index.js index 9a61f5f..a770f7d 100644 --- a/index.js +++ b/index.js @@ -21,8 +21,6 @@ module.exports = { let validateStatus = defaultValue(options.validateStatus, (status) => status >= 200 && status < 300); if (validateStatus(response.status)) { - console.log(response.data); - try { return JSON.parse(response.data); } catch (error) {