Remove erroneous console.log

master
Sven Slootweg 5 years ago
parent 2bfd0976fb
commit 95f0b9de46

@ -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.

@ -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) {

Loading…
Cancel
Save